From bb38759d6dc78b1818f5d23129a362d6f5aba267 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 17 May 2013 19:04:08 +0000 Subject: Fix remainder exceptions and directed-rounding results (bugs 15480, 15485). --- ChangeLog | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index cec25f7a15..fe2a644718 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,22 @@ 2013-05-17 Joseph Myers + [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. -- cgit v1.2.3