summary refs log tree commit diff
path: root/math/s_ctanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/s_ctanf.c')
-rw-r--r--math/s_ctanf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/s_ctanf.c b/math/s_ctanf.c
index d87f775f23..e0ebe43d31 100644
--- a/math/s_ctanf.c
+++ b/math/s_ctanf.c
@@ -30,7 +30,7 @@ __ctanf (__complex__ float x)
 
   if (__glibc_unlikely (!isfinite (__real__ x) || !isfinite (__imag__ x)))
     {
-      if (__isinf_nsf (__imag__ x))
+      if (isinf (__imag__ x))
 	{
 	  if (isfinite (__real__ x) && fabsf (__real__ x) > 1.0f)
 	    {
@@ -51,7 +51,7 @@ __ctanf (__complex__ float x)
 	  __real__ res = __nanf ("");
 	  __imag__ res = __nanf ("");
 
-	  if (__isinf_nsf (__real__ x))
+	  if (isinf (__real__ x))
 	    feraiseexcept (FE_INVALID);
 	}
     }