diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | sysdeps/ieee754/ldbl-128ibm/s_expm1l.c | 2 |
3 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 7aa8791642..f27a4eb290 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2014-01-08 Joseph Myers <joseph@codesourcery.com> + + [BZ #16408] + * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl + for large positive arguments. + 2014-01-07 Joseph Myers <joseph@codesourcery.com> * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated. diff --git a/NEWS b/NEWS index 366e1d4f43..486e892c65 100644 --- a/NEWS +++ b/NEWS @@ -24,7 +24,7 @@ Version 2.19 16103, 16112, 16143, 16144, 16146, 16150, 16151, 16153, 16167, 16172, 16195, 16214, 16245, 16271, 16274, 16283, 16289, 16293, 16314, 16316, 16330, 16337, 16338, 16356, 16365, 16366, 16369, 16372, 16375, 16379, - 16384, 16385, 16386, 16387, 16390, 16400, 16407. + 16384, 16385, 16386, 16387, 16390, 16400, 16407, 16408. * Slovenian translations for glibc messages have been contributed by the Translation Project's Slovenian team of translators. diff --git a/sysdeps/ieee754/ldbl-128ibm/s_expm1l.c b/sysdeps/ieee754/ldbl-128ibm/s_expm1l.c index 007e785346..0464f79043 100644 --- a/sysdeps/ieee754/ldbl-128ibm/s_expm1l.c +++ b/sysdeps/ieee754/ldbl-128ibm/s_expm1l.c @@ -101,6 +101,8 @@ __expm1l (long double x) EXTRACT_WORDS (ix, lx, xhi); sign = ix & 0x80000000; ix &= 0x7fffffff; + if (!sign && ix >= 0x40600000) + return __expl (x); if (ix >= 0x7ff00000) { /* Infinity. */ |