about summary refs log tree commit diff
path: root/math/s_csinl.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/s_csinl.c')
-rw-r--r--math/s_csinl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/s_csinl.c b/math/s_csinl.c
index a4b1eb5620..7908aee97c 100644
--- a/math/s_csinl.c
+++ b/math/s_csinl.c
@@ -42,7 +42,7 @@ __csinl (__complex__ long double x)
 	  const int t = (int) ((LDBL_MAX_EXP - 1) * M_LN2l);
 	  long double sinix, cosix;
 
-	  if (__glibc_likely (rcls != FP_SUBNORMAL))
+	  if (__glibc_likely (__real__ x > LDBL_MIN))
 	    {
 	      __sincosl (__real__ x, &sinix, &cosix);
 	    }
@@ -136,7 +136,7 @@ __csinl (__complex__ long double x)
 	  /* Real part is finite.  */
 	  long double sinix, cosix;
 
-	  if (__glibc_likely (rcls != FP_SUBNORMAL))
+	  if (__glibc_likely (__real__ x > LDBL_MIN))
 	    {
 	      __sincosl (__real__ x, &sinix, &cosix);
 	    }