diff options
Diffstat (limited to 'math/w_coshf.c')
-rw-r--r-- | math/w_coshf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/math/w_coshf.c b/math/w_coshf.c index df1f681..dc7fb53 100644 --- a/math/w_coshf.c +++ b/math/w_coshf.c @@ -25,7 +25,7 @@ float __coshf (float x) { float z = __ieee754_coshf (x); - if (__builtin_expect (!__finitef (z), 0) && __finitef (x) + if (__builtin_expect (!isfinite (z), 0) && isfinite (x) && _LIB_VERSION != _IEEE_) return __kernel_standard_f (x, x, 105); /* cosh overflow */ |