[libc-commits] [libc] [libc][math] Implement double precision sin correctly rounded to all rounding modes. (PR #95736)

via libc-commits libc-commits at lists.llvm.org
Mon Jun 17 01:59:59 PDT 2024


zimmermann6 wrote:

it seems the inexact exception is not handled:
```
zimmerma at croissant:~/svn/core-math$ CORE_MATH_CHECK_STD=true LIBM=$L ./check.sh sin
Running worst cases check in --rndn mode...
Missing inexact exception for x=0x1.86fbbc688f0e9p-24 (y=0x1.86fbbc688f0ep-24)
Running worst cases check in --rndz mode...
Missing inexact exception for x=0x1.005023d32fee5p+1 (y=0x1.d109ad145c88ep-1)
Running worst cases check in --rndu mode...
Missing inexact exception for x=0x1.005023d32fee5p+1 (y=0x1.d109ad145c88fp-1)
Missing inexact exception for x=0x1.fe945340d1525p-22 (y=0x1.fe945340d13d3p-22)
Running worst cases check in --rndd mode...
Missing inexact exception for x=0x1.005023d32fee5p+1 (y=0x1.d109ad145c88ep-1)
```

https://github.com/llvm/llvm-project/pull/95736


More information about the libc-commits mailing list