summaryrefslogtreecommitdiff
path: root/math/s_csinhf.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/s_csinhf.c')
-rw-r--r--math/s_csinhf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/s_csinhf.c b/math/s_csinhf.c
index 4e0bc0362c..72e4800cb7 100644
--- a/math/s_csinhf.c
+++ b/math/s_csinhf.c
@@ -42,7 +42,7 @@ __csinhf (__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);
}
@@ -130,7 +130,7 @@ __csinhf (__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);
}