diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-11-22 14:55:17 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-11-22 14:55:17 +0000 |
commit | 7c7feb4772742b43d3f70168c5598f01801936d7 (patch) | |
tree | 9894ba03c26d93dd46a686c837a5c7ea2be6fb0b | |
parent | fff1530e611ae3dd361f51984258ff1f46a32475 (diff) | |
download | glibc-7c7feb4772742b43d3f70168c5598f01801936d7.zip glibc-7c7feb4772742b43d3f70168c5598f01801936d7.tar.gz glibc-7c7feb4772742b43d3f70168c5598f01801936d7.tar.bz2 |
Fix expm1l spurious underflows for ldbl-128ibm.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/ieee754/ldbl-128ibm/s_expm1l.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2012-11-22 Joseph Myers <joseph@codesourcery.com> + + [BZ #6778] + * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L. + 2012-11-22 Andreas Schwab <schwab@suse.de> * sysdeps/i386/fpu/libm-test-ulps: Update. diff --git a/sysdeps/ieee754/ldbl-128ibm/s_expm1l.c b/sysdeps/ieee754/ldbl-128ibm/s_expm1l.c index 98ae4e1..8808dcd 100644 --- a/sysdeps/ieee754/ldbl-128ibm/s_expm1l.c +++ b/sysdeps/ieee754/ldbl-128ibm/s_expm1l.c @@ -85,7 +85,7 @@ static const long double /* ln (2^16384 * (1 - 2^-113)) */ maxlog = 1.1356523406294143949491931077970764891253E4L, /* ln 2^-114 */ - minarg = -7.9018778583833765273564461846232128760607E1L, big = 2e307L; + minarg = -7.9018778583833765273564461846232128760607E1L, big = 1e290L; long double |