aboutsummaryrefslogtreecommitdiff
path: root/math/s_ccoshf.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/s_ccoshf.c')
-rw-r--r--math/s_ccoshf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/math/s_ccoshf.c b/math/s_ccoshf.c
index 610a7490ee..d572b76193 100644
--- a/math/s_ccoshf.c
+++ b/math/s_ccoshf.c
@@ -94,7 +94,7 @@ __ccoshf (__complex__ float x)
feraiseexcept (FE_INVALID);
}
}
- else if (__glibc_likely (rcls == FP_INFINITE))
+ else if (rcls == FP_INFINITE)
{
/* Real part is infinite. */
if (__glibc_likely (icls > FP_ZERO))
@@ -128,10 +128,8 @@ __ccoshf (__complex__ float x)
__real__ retval = HUGE_VALF;
__imag__ retval = __nanf ("") + __nanf ("");
-#ifdef FE_INVALID
if (icls == FP_INFINITE)
feraiseexcept (FE_INVALID);
-#endif
}
}
else