diff options
Diffstat (limited to 'math/s_ctanhf.c')
-rw-r--r-- | math/s_ctanhf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/math/s_ctanhf.c b/math/s_ctanhf.c index 3ce8ac1ac4..a4fd2301cd 100644 --- a/math/s_ctanhf.c +++ b/math/s_ctanhf.c @@ -30,7 +30,7 @@ __ctanhf (__complex__ float x) if (__glibc_unlikely (!isfinite (__real__ x) || !isfinite (__imag__ x))) { - if (__isinf_nsf (__real__ x)) + if (isinf (__real__ x)) { __real__ res = __copysignf (1.0, __real__ x); if (isfinite (__imag__ x) && fabsf (__imag__ x) > 1.0f) @@ -51,7 +51,7 @@ __ctanhf (__complex__ float x) __real__ res = __nanf (""); __imag__ res = __nanf (""); - if (__isinf_nsf (__imag__ x)) + if (isinf (__imag__ x)) feraiseexcept (FE_INVALID); } } |