diff options
Diffstat (limited to 'math/s_ccoshf.c')
-rw-r--r-- | math/s_ccoshf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/math/s_ccoshf.c b/math/s_ccoshf.c index be079449c2..6f61efc8c6 100644 --- a/math/s_ccoshf.c +++ b/math/s_ccoshf.c @@ -39,7 +39,7 @@ __ccoshf (__complex__ float x) const int t = (int) ((FLT_MAX_EXP - 1) * M_LN2); float sinix, cosix; - if (__glibc_likely (icls != FP_SUBNORMAL)) + if (__glibc_likely (fabsf (__imag__ x) > FLT_MIN)) { __sincosf (__imag__ x, &sinix, &cosix); } @@ -113,7 +113,7 @@ __ccoshf (__complex__ float x) /* Imaginary part is finite. */ float sinix, cosix; - if (__glibc_likely (icls != FP_SUBNORMAL)) + if (__glibc_likely (fabsf (__imag__ x) > FLT_MIN)) { __sincosf (__imag__ x, &sinix, &cosix); } |