]> git.ipfire.org Git - thirdparty/glibc.git/commit
math: Add inf support on gen-auto-libm-tests.c
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 20 Nov 2024 18:44:58 +0000 (15:44 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 18 Dec 2024 20:24:42 +0000 (17:24 -0300)
commitaa3e67ced62e95ab52a1b693d3822e229c90c2da
tree54d7cadc4928fb485b08ddeb79a5bfa495a5224b
parenta993eea6414b2ad8d81f1fe5123a375392cad9e6
math: Add inf support on gen-auto-libm-tests.c

For some correctly rounded inputs where infinity might generate
a number (like atanf), comparing to a pre-defined constant does not
yield the expected result in all rounding modes.

The most straightforward way to handle it would be to get the expected
result from mpfr, where it handles all the rounding modes.
math/gen-auto-libm-tests.c