ARM/ARM64 returns an incorrect result for `pow(x, 1)`
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
CC. @AndyAyersMS logged this to track the underlying issue for https://github.com/dotnet/coreclr/pull/22802
There are other various cross-platform differences for the various Math functions so I am putting this into future.
Un-assigning myself cc @BruceForstall
@tannergooding can you update the status of this issue?
Tagging subscribers to this area: @dotnet/area-system-numerics See info in area-owners.md if you want to be subscribed.
Issue Details
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
| Author: | tannergooding |
|---|---|
| Assignees: | - |
| Labels: |
|
| Milestone: | 7.0.0 |
Issue is still present and should be eventually resolved. This isn't really a codegen issue, but rather an implementation issue with the underlying CRT implementation we defer to, so I've changed the area path.
This is a "fix anytime" issue. It may eventually get picked up alongside other determinism changes that happen
@tannergooding Can i take a look at this