diff options
Diffstat (limited to 'libquadmath/math/sinhq.c')
-rw-r--r-- | libquadmath/math/sinhq.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libquadmath/math/sinhq.c b/libquadmath/math/sinhq.c index eff8149b515..a4191c0fd3d 100644 --- a/libquadmath/math/sinhq.c +++ b/libquadmath/math/sinhq.c @@ -85,8 +85,11 @@ sinhq (__float128 x) if (ix <= 0x40044000) { if (ix < 0x3fc60000) /* |x| < 2^-57 */ - if (shuge + x > one) - return x; /* sinh(tiny) = tiny with inexact */ + { + math_check_force_underflow (x); + if (shuge + x > one) + return x; /* sinh(tiny) = tiny with inexact */ + } t = expm1q (u.value); if (ix < 0x3fff0000) return h * (2.0Q * t - t * t / (t + one)); |