Use CORE-MATH sin, cos, and sincos
Adhemerval Zanella Netto
adhemerval.zanella@linaro.org
Mon Nov 23 16:41:38 GMT 2026
On 23/11/26 04:43, Paul Zimmermann wrote:
> Hi,
>
> this is not a full review: I did check the series against CORE-MATH test
> suite (checking also errno and the inexact exception), both with and
> without FMA contraction, and all tests pass for sin, cos and sincos.
>
> For example for sin with FMA contraction, after installing glibc in /tmp:
>
> zimmerma@thym:~/svn/core-math$ EXTRA_CFLAGS="-DCORE_MATH_SUPPORT_ERRNO -DCORE_MATH_CHECK_INEXACT" CORE_MATH_CHECK_STD=true CORE_MATH_LAUNCHER="/tmp/lib/ld-linux-x86-64.so.2 --library-path /tmp/lib:/usr/lib/x86_64-linux-gnu" LDFLAGS="-L /tmp/lib" ./check.sh sin
> Running worst cases check in --rndn mode...
> 3951854 tests passed, 0 failure(s)
> Running worst cases check in --rndz mode...
> 3951854 tests passed, 0 failure(s)
> Running worst cases check in --rndu mode...
> 3951854 tests passed, 0 failure(s)
> Running worst cases check in --rndd mode...
> 3951854 tests passed, 0 failure(s)
>
> Paul
Thanks for double check this Paul.
More information about the Libc-alpha
mailing list