aboutsummaryrefslogtreecommitdiff
path: root/math/s_csinf.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/s_csinf.c')
-rw-r--r--math/s_csinf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/s_csinf.c b/math/s_csinf.c
index daca6896b4..52cce4b46b 100644
--- a/math/s_csinf.c
+++ b/math/s_csinf.c
@@ -42,7 +42,7 @@ __csinf (__complex__ float x)
const int t = (int) ((FLT_MAX_EXP - 1) * M_LN2);
float sinix, cosix;
- if (__glibc_likely (rcls != FP_SUBNORMAL))
+ if (__glibc_likely (__real__ x > FLT_MIN))
{
__sincosf (__real__ x, &sinix, &cosix);
}
@@ -136,7 +136,7 @@ __csinf (__complex__ float x)
/* Real part is finite. */
float sinix, cosix;
- if (__glibc_likely (rcls != FP_SUBNORMAL))
+ if (__glibc_likely (__real__ x > FLT_MIN))
{
__sincosf (__real__ x, &sinix, &cosix);
}