]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/w_cosh.c
This patch renames all uses of __isinf*, __isnan*, __finite* and __signbit* to use...
[thirdparty/glibc.git] / math / w_cosh.c
index 57010781bf72d4a039dcf6e5556e31cb8cde7e70..0771434ec1df4ae3b118b77fcb858a100958e3c3 100644 (file)
@@ -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 */