aboutsummaryrefslogtreecommitdiff
path: root/math/s_casinf.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/s_casinf.c')
-rw-r--r--math/s_casinf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/s_casinf.c b/math/s_casinf.c
index 65cba20b82..9b3d2f1ce5 100644
--- a/math/s_casinf.c
+++ b/math/s_casinf.c
@@ -33,7 +33,7 @@ __casinf (__complex__ float x)
{
res = x;
}
- else if (__isinf_nsf (__real__ x) || __isinf_nsf (__imag__ x))
+ else if (isinf (__real__ x) || isinf (__imag__ x))
{
__real__ res = __nanf ("");
__imag__ res = __copysignf (HUGE_VALF, __imag__ x);