diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-11-16 12:48:35 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-11-16 12:48:35 +0000 |
commit | ce66581742e7ae1d6ce59e5d2d4859b2ae41218c (patch) | |
tree | 7b3c30606dfa3a6cfe0000f49ed6d82fc17d7d41 /ChangeLog | |
parent | ee1466a953527d550bd0a7eed3ac46ba187ed65f (diff) | |
download | glibc-ce66581742e7ae1d6ce59e5d2d4859b2ae41218c.tar glibc-ce66581742e7ae1d6ce59e5d2d4859b2ae41218c.tar.gz glibc-ce66581742e7ae1d6ce59e5d2d4859b2ae41218c.tar.bz2 glibc-ce66581742e7ae1d6ce59e5d2d4859b2ae41218c.zip |
Test signs of NaNs in libm-test.inc where appropriate.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -1,5 +1,22 @@ 2013-11-16 Joseph Myers <joseph@codesourcery.com> + * math/libm-test.inc (TEST_NAN_SIGN): New macro. + (NO_TEST_INLINE): Update value. + (ERRNO_UNCHANGED): Likewise. + (ERRNO_EDOM): Likewise. + (ERRNO_ERANGE): Likewise. + (IGNORE_RESULT): Likewise. + (check_float_internal): Check signs of NaN results if + TEST_NAN_SIGN used. + (check_complex): Pass TEST_NAN_SIGN flag through to second + check_float_internal call. + (copysign_test_data): Add tests with quiet NaNs as second + argument. Use TEST_NAN_SIGN. + (fabs_test_data): Add test of negative quiet NaN argument. Use + TEST_NAN_SIGN. + (signbit_test_data): Add tests of quiet NaN argument. + * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN. + * math/gen-libm-test.pl (show_exceptions): Take extra argument $ignore_result. (parse_args): Handle function results specified as IGNORE. |