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

貢獻者指南