about summary refs log tree commit diff
path: root/math/w_coshf.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_coshf.c')
-rw-r--r--math/w_coshf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/w_coshf.c b/math/w_coshf.c
index df1f681205..dc7fb53ba3 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 */