diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-05-16 13:19:38 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-05-16 13:19:38 +0000 |
commit | 105a07dfc0678d13556126e04b9548f87f7f5d95 (patch) | |
tree | 7876603298e31bd3e6272d98dd372841e0757afa /ChangeLog | |
parent | e9eee333b9157d13734ddb459b6edf1afca20603 (diff) | |
download | glibc-105a07dfc0678d13556126e04b9548f87f7f5d95.zip glibc-105a07dfc0678d13556126e04b9548f87f7f5d95.tar.gz glibc-105a07dfc0678d13556126e04b9548f87f7f5d95.tar.bz2 |
Support testing "inexact" exceptions in libm-test.inc.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -1,5 +1,27 @@ 2013-05-16 Joseph Myers <joseph@codesourcery.com> + * math/libm-test.inc: Remove comment about not testing "inexact" + exceptions. + (INEXACT_EXCEPTION): New macro. + (NO_INEXACT_EXCEPTION): Likewise. + (INVALID_EXCEPTION_OK): Update value. + (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise. + (OVERFLOW_EXCEPTION_OK): Likewise. + (UNDERFLOW_EXCEPTION_OK): Likewise. + (IGNORE_ZERO_INF_SIGN): Likewise. + (ERRNO_UNCHANGED): Likewise. + (ERRNO_EDOM): Likewise. + (ERRNO_ERANGE): Likewise. + (test_exceptions): Handle testing "inexact" exceptions. + (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests. + (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION. + (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests. + (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and + INEXACT_EXCEPTION. + (rint_towardzero_test_data): Likewise. + (rint_downward_test_data): Likewise. + (rint_upward_test_data): Likewise. + * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together with OVERFLOW_EXCEPTION. (exp10_test_data): Likewise. |