dotnet/runtime

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

已关闭

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

 (7 条评论) (0 个反应) (0 位负责人)C# (5,445 个派生)batch import
Priority:3arch-arm32arch-arm64area-System.Numericsbughelp wanted

仓库指标

星标
 (17,886 个星标)
PR 合并指标
 (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

贡献者指南