dotnet/runtime

ARM/ARM64 returns an incorrect result for `pow(x, 1)`

Open

#12,139 创建于 2019年2月27日

在 GitHub 查看
 (7 评论) (0 反应) (0 负责人)C# (5,445 fork)batch import
Priority:3arch-arm32arch-arm64area-System.Numericsbughelp wanted

仓库指标

Star
 (17,886 star)
PR 合并指标
 (平均合并 12天 11小时) (30 天内合并 661 个 PR)

描述

ARM/ARM64 currently return 0 for Math.Pow(double.Epsilon, 1) when it should be returning double.Epsilon. My best guess is that the implementation is not properly special casing y=1.

category:correctness theme:jit-intrinsics skill-level:beginner cost:small

贡献者指南