diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-10-06 17:37:49 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-10-06 17:37:49 +0000 |
commit | 6c9678ebd42358f931100130a368fafe375a0ba2 (patch) | |
tree | 31a8266da420a9aacd6054bb0ec9c29b5223ea7d /ChangeLog | |
parent | b3364d05892be0170e8f67689736bb9b7597bc94 (diff) | |
download | glibc-6c9678ebd42358f931100130a368fafe375a0ba2.tar.gz glibc-6c9678ebd42358f931100130a368fafe375a0ba2.tar.xz glibc-6c9678ebd42358f931100130a368fafe375a0ba2.zip |
Fix ldbl-128ibm expl overflow in non-default rounding modes (bug 19078).
The ldbl-128ibm expl wrapper checks the argument to determine when to call __kernel_standard_l, thereby overriding overflowing results from __ieee754_expl that could otherwise (given appropriately patched libgcc) be correct for the rounding mode. This patch changes it to check the result of __ieee754_expl instead, as other versions of this wrapper do. Tested for powerpc. [BZ #19078] * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable. (u_thres): Likewise. (__expl): Determine whether to call __kernel_standard_l based on value of result, not argument.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 2752bd2323..9b762b3a0c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2015-10-06 Joseph Myers <joseph@codesourcery.com> + [BZ #19078] + * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable. + (u_thres): Likewise. + (__expl): Determine whether to call __kernel_standard_l based on + value of result, not argument. + * math/libm-test.inc (scalb_test_data): Add more expectations for the "inexact" exception. |