aboutsummaryrefslogtreecommitdiff
path: root/math/w_cosh.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_cosh.c')
-rw-r--r--math/w_cosh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/w_cosh.c b/math/w_cosh.c
index 5701078..0771434 100644
--- a/math/w_cosh.c
+++ b/math/w_cosh.c
@@ -21,7 +21,7 @@ double
__cosh (double x)
{
double z = __ieee754_cosh (x);
- if (__builtin_expect (!__finite (z), 0) && __finite (x)
+ if (__builtin_expect (!isfinite (z), 0) && isfinite (x)
&& _LIB_VERSION != _IEEE_)
return __kernel_standard (x, x, 5); /* cosh overflow */