[libc-commits] [libc] [libc][math][c23] Implemented sinpif function correctly rounded for all rounding modes. (PR #97149)
via libc-commits
libc-commits at lists.llvm.org
Sat Jun 29 13:12:19 PDT 2024
zimmermann6 wrote:
I get some failures with the CORE-MATH test suite for integer n. IEEE 754-2019 says that sin(+n) = +0 and sin(-n) = -0.
```
Running exhaustive check in --rndn mode...
FAIL x=-0x1.cp+21 ref=-0x0p+0 y=0x0p+0
FAIL x=-0x1.2p+96 ref=-0x0p+0 y=0x0p+0
FAIL x=-0x1.dp+5 ref=-0x0p+0 y=0x0p+0
Running exhaustive check in --rndz mode...
FAIL x=-0x1.1p+112 ref=-0x0p+0 y=0x0p+0
FAIL x=-0x1.ap+53 ref=-0x0p+0 y=0x0p+0
Running exhaustive check in --rndu mode...
FAIL x=-0x1.fp+58 ref=-0x0p+0 y=0x0p+0
FRunning exhaustive check in --rndd mode...
FAIL x=0x1.7p+101 ref=0x0p+0 y=-0x0p+0
```
https://github.com/llvm/llvm-project/pull/97149
More information about the libc-commits
mailing list