summaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/ldbl-128ibm/s_expm1l.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2015-01-23 17:05:24 +0100
committerThomas Schwinge <thomas@codesourcery.com>2015-01-23 17:05:24 +0100
commitacdf78a82e9372b461e6148588a2045e7ff4b100 (patch)
tree2ba33f24c265589996b0855c7f3e27813aa9c90d /sysdeps/ieee754/ldbl-128ibm/s_expm1l.c
parent1ff35137add0e9637df9e3fcc21133674188c8c4 (diff)
parent8f435c12186bcc685f77ef7fd7285624bcda1ecc (diff)
Merge commit 'refs/top-bases/t/hurdsig-SA_SIGINFO' into t/hurdsig-SA_SIGINFO
Diffstat (limited to 'sysdeps/ieee754/ldbl-128ibm/s_expm1l.c')
-rw-r--r--sysdeps/ieee754/ldbl-128ibm/s_expm1l.c2
1 files changed, 2 insertions, 0 deletions
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. */