已关闭
[Bug-Report|缺陷反馈]: Power高阶API中浮点数计算GetLogFExtStepOne函数,当a < 1.175494351e-38f时,方案实现存在问题 #1114
DianaBlessYou创建于  7月1日关闭于  7月1日
DianaBlessYou
DianaBlessYou成员
7月1日 创建

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

Describe the current behavior / 问题描述 (Mandatory / 必填)

当a < 1.175494351e-38f时,浮点数计算存在问题,a = a * 8388608.0f 未正确实现。

Environment / 环境信息 (Mandatory / 必填)

Ascend 950PR/Ascend 950DT

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

构造a < 1.175494351e-38f的用例

Describe the expected behavior / 预期结果 (Mandatory / 必填)

精度正确

NA

Special notes for this issue/备注 (Optional / 选填)

likedislike
DianaBlessYouDianaBlessYou成员
7月1日 添加了label:bug-report
DianaBlessYou
DianaBlessYou成员
7月1日 评论:

/assign

likedislike
CANN-robotCANN-robot成员
7月1日 将 lijunjie147 设为负责人
DianaBlessYouDianaBlessYou成员
7月1日 修改标题为 “[Bug-Report|缺陷反馈]: Power高阶API中浮点数计算GetLogFExtStepOne函数,当a < 1.175494351e-38f时,方案实现存在问题”,原标题为“[Bug-Report|缺陷反馈]: Power高阶API中浮点数计算GetLogFExtStepOne函数,当a < 1.175494351e-38f时,实现与注释不一致”
CANN-robotCANN-robot成员
7月1日 关闭了 issue
CANN-robotCANN-robot成员
7月1日 添加了label:resolved