about summary refs log tree commit diff
path: root/math/s_ctanl.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/s_ctanl.c')
-rw-r--r--math/s_ctanl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/s_ctanl.c b/math/s_ctanl.c
index 9090c1ad96..4783dcbeb9 100644
--- a/math/s_ctanl.c
+++ b/math/s_ctanl.c
@@ -37,7 +37,7 @@ __ctanl (__complex__ long double x)
 
   if (__glibc_unlikely (!isfinite (__real__ x) || !isfinite (__imag__ x)))
     {
-      if (__isinf_nsl (__imag__ x))
+      if (isinf (__imag__ x))
 	{
 	  if (isfinite (__real__ x) &&  fabsl (__real__ x) > 1.0L)
 	    {
@@ -58,7 +58,7 @@ __ctanl (__complex__ long double x)
 	  __real__ res = __nanl ("");
 	  __imag__ res = __nanl ("");
 
-	  if (__isinf_nsl (__real__ x))
+	  if (isinf (__real__ x))
 	    feraiseexcept (FE_INVALID);
 	}
     }