diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-05-17 19:04:08 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-05-17 19:04:08 +0000 |
commit | bb38759d6dc78b1818f5d23129a362d6f5aba267 (patch) | |
tree | eeb0b291af38d05e91c37d54d7dd48dc8a4a5c05 /ChangeLog | |
parent | a00bdcf0e059a6bdb0a258a624437e326cde49e4 (diff) | |
download | glibc-bb38759d6dc78b1818f5d23129a362d6f5aba267.tar.gz glibc-bb38759d6dc78b1818f5d23129a362d6f5aba267.tar.xz glibc-bb38759d6dc78b1818f5d23129a362d6f5aba267.zip |
Fix remainder exceptions and directed-rounding results (bugs 15480, 15485).
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index cec25f7a15..fe2a644718 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,22 @@ 2013-05-17 Joseph Myers <joseph@codesourcery.com> + [BZ #15480] + [BZ #15485] + * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For + main case of finite arguments, set rounding mode to FE_TONEAREST + and discard exceptions. + * math/libm-test.inc (remainder_test_data): Disallow "inexact" + exceptions. + (remainder_tonearest_test_data): New variable. + (remainder_test_tonearest): New function. + (remainder_towardzero_test_data): New variable. + (remainder_test_towardzero): New function. + (remainder_downward_test_data): New variable. + (remainder_test_downward): New function. + (remainder_upward_test_data): New variable. + (remainder_test_upward): New function. + (main): Call the new test functions. + * math/libm-test.inc (struct test_f_f1_data): Remove field extra_init. (struct test_fF_f1_data): Likewise. |