aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/ldbl-128/e_coshl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ieee754/ldbl-128/e_coshl.c')
-rw-r--r--sysdeps/ieee754/ldbl-128/e_coshl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/ieee754/ldbl-128/e_coshl.c b/sysdeps/ieee754/ldbl-128/e_coshl.c
index 7ffc4d5159..90c5f4fd6a 100644
--- a/sysdeps/ieee754/ldbl-128/e_coshl.c
+++ b/sysdeps/ieee754/ldbl-128/e_coshl.c
@@ -55,7 +55,6 @@ __ieee754_coshl (x)
{
long double t, w;
int32_t ex;
- u_int32_t mx, lx;
ieee854_long_double_shape_type u;
u.value = x;
@@ -73,7 +72,7 @@ __ieee754_coshl (x)
{
t = __expm1l (u.value);
w = one + t;
- if (ex < 0x3fc60000) /* |x| < 2^-57 */
+ if (ex < 0x3fb80000) /* |x| < 2^-116 */
return w; /* cosh(tiny) = 1 */
return one + (t * t) / (w + w);