about summary refs log tree commit diff
path: root/math/s_csinhl.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/s_csinhl.c')
-rw-r--r--math/s_csinhl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/s_csinhl.c b/math/s_csinhl.c
index eeb2212cd3..62243dab62 100644
--- a/math/s_csinhl.c
+++ b/math/s_csinhl.c
@@ -42,7 +42,7 @@ __csinhl (__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);
 	    }
@@ -130,7 +130,7 @@ __csinhl (__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);
 	    }