diff options
author | lntue <35648136+lntue@users.noreply.github.com> | 2024-07-19 10:40:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-19 10:40:44 -0400 |
commit | 9da9127fec7b0a252b80d60b09b8c0ccedb41672 (patch) | |
tree | 76890d3079d42634dac9d0ce22eeaf711c41381c /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | f1c27a9b269ead54d348e19b78b608c961c9e647 (diff) | |
download | llvm-9da9127fec7b0a252b80d60b09b8c0ccedb41672.zip llvm-9da9127fec7b0a252b80d60b09b8c0ccedb41672.tar.gz llvm-9da9127fec7b0a252b80d60b09b8c0ccedb41672.tar.bz2 |
[libc][math] Fix signaling nan handling of hypot(f) and improve hypotf performance. (#99432)
The errors were reported by Paul Zimmermann with the CORE-MATH project's
test suites:
```
zimmerma@tartine:/tmp/core-math$ CORE_MATH_CHECK_STD=true LIBM=$L ./check.sh hypot
Running worst cases check in --rndn mode...
FAIL x=snan y=inf ref=qnan z=inf
Running worst cases check in --rndz mode...
FAIL x=snan y=inf ref=qnan z=inf
Running worst cases check in --rndu mode...
FAIL x=snan y=inf ref=qnan z=inf
Running worst cases check in --rndd mode...
Spurious inexact exception for x=0x1.ffffffffffffep+24 y=0x1p+0 (z=0x1.0000000000001p+25)
```
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions