diff options
Diffstat (limited to 'math/w_cosh.c')
-rw-r--r-- | math/w_cosh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/math/w_cosh.c b/math/w_cosh.c index 57010781bf..0771434ec1 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 */ |