about summary refs log tree commit diff
path: root/math/w_lgamma_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_lgamma_r.c')
-rw-r--r--math/w_lgamma_r.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/w_lgamma_r.c b/math/w_lgamma_r.c
index 9d00f58ab7..6578b2c76c 100644
--- a/math/w_lgamma_r.c
+++ b/math/w_lgamma_r.c
@@ -22,8 +22,8 @@ double
 __lgamma_r(double x, int *signgamp)
 {
 	double y = __ieee754_lgamma_r(x,signgamp);
-	if(__builtin_expect(!__finite(y), 0)
-	   && __finite(x) && _LIB_VERSION != _IEEE_)
+	if(__builtin_expect(!isfinite(y), 0)
+	   && isfinite(x) && _LIB_VERSION != _IEEE_)
 		return __kernel_standard(x, x,
 					 __floor(x)==x&&x<=0.0
 					 ? 15 /* lgamma pole */