dotnet/runtime
Voir sur GitHubARM/ARM64 returns an incorrect result for `pow(x, 1)`
Open
#12 139 ouverte le 27 févr. 2019
Priority:3arch-arm32arch-arm64area-System.Numericsbughelp wanted
Métriques du dépôt
- Stars
- (17 886 stars)
- Métriques de merge PR
- (Merge moyen 12j 11h) (661 PRs mergées en 30 j)
Description
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