[libc-commits] [libc] [llvm] [libc][math] Refactored atanpif16 to header only (PR #184316)
via libc-commits
libc-commits at lists.llvm.org
Wed Apr 8 22:58:48 PDT 2026
zimmermann6 wrote:
I have added a new macro in CORE-MATH test suite, which assumes underflow detection is before rounding. With this setting, all tests do pass:
```
zimmerma at croissant:~/svn/core-math$ EXTRA_CFLAGS=-DCORE_MATH_UNDERFLOW_BEFORE CORE_MATH_CHECK_STD=true LIBM=$L ./check.sh atanpif16
Running exhaustive check in --rndn mode...
all ok
Running exhaustive check in --rndz mode...
all ok
Running exhaustive check in --rndu mode...
all ok
Running exhaustive check in --rndd mode...
all ok
```
https://github.com/llvm/llvm-project/pull/184316
More information about the libc-commits
mailing list