diff options
Diffstat (limited to 'math/s_ctan.c')
-rw-r--r-- | math/s_ctan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/math/s_ctan.c b/math/s_ctan.c index 7ed6abd814..674c3b63b4 100644 --- a/math/s_ctan.c +++ b/math/s_ctan.c @@ -30,7 +30,7 @@ __ctan (__complex__ double x) if (__glibc_unlikely (!isfinite (__real__ x) || !isfinite (__imag__ x))) { - if (__isinf_ns (__imag__ x)) + if (isinf (__imag__ x)) { if (isfinite (__real__ x) && fabs (__real__ x) > 1.0) { @@ -51,7 +51,7 @@ __ctan (__complex__ double x) __real__ res = __nan (""); __imag__ res = __nan (""); - if (__isinf_ns (__real__ x)) + if (isinf (__real__ x)) feraiseexcept (FE_INVALID); } } |