diff options
Diffstat (limited to 'math/s_ccoshl.c')
-rw-r--r-- | math/s_ccoshl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/math/s_ccoshl.c b/math/s_ccoshl.c index 2160390ffc..874786d17a 100644 --- a/math/s_ccoshl.c +++ b/math/s_ccoshl.c @@ -39,7 +39,7 @@ __ccoshl (__complex__ long double x) const int t = (int) ((LDBL_MAX_EXP - 1) * M_LN2l); long double sinix, cosix; - if (__glibc_likely (icls != FP_SUBNORMAL)) + if (__glibc_likely (fabsl (__imag__ x) > LDBL_MIN)) { __sincosl (__imag__ x, &sinix, &cosix); } @@ -113,7 +113,7 @@ __ccoshl (__complex__ long double x) /* Imaginary part is finite. */ long double sinix, cosix; - if (__glibc_likely (icls != FP_SUBNORMAL)) + if (__glibc_likely (fabsl (__imag__ x) > LDBL_MIN)) { __sincosl (__imag__ x, &sinix, &cosix); } |