[PATCH] new inputs with large errors for [a]cospi, [a]sinpi, [a]tanpi, atan2pi
Paul Zimmermann
Paul.Zimmermann@inria.fr
Fri Dec 20 10:54:26 GMT 2024
Joseph,
I did investigate more, and indeed with gcc-11 the original CORE-MATH code
does not return a correctly rounded result for rounding toward zero:
zimmerma@araignee:~/svn/core-math$ CC=gcc-11 CFLAGS=-O3 ./check.sh acosf
Running exhaustive check in --rndn mode...
all ok
Running exhaustive check in --rndz mode...
FAIL x=0x1.8p-138 ref=0x1.921fb4p+0 y=0x1.921fb6p+0
FAIL x=0x0p+0 ref=0x1.921fb4p+0 y=0x1.921fb6p+0
Most probably due to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57245.
Paul
More information about the Libc-alpha
mailing list