summary refs log tree commit diff
path: root/math/w_lgammal_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_lgammal_r.c')
-rw-r--r--math/w_lgammal_r.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/w_lgammal_r.c b/math/w_lgammal_r.c
index ec3428486a..7caeb1264f 100644
--- a/math/w_lgammal_r.c
+++ b/math/w_lgammal_r.c
@@ -26,8 +26,8 @@ long double
 __lgammal_r(long double x, int *signgamp)
 {
 	long double y = __ieee754_lgammal_r(x,signgamp);
-	if(__builtin_expect(!__finitel(y), 0)
-	   && __finitel(x) && _LIB_VERSION != _IEEE_)
+	if(__builtin_expect(!isfinite(y), 0)
+	   && isfinite(x) && _LIB_VERSION != _IEEE_)
 		return __kernel_standard(x, x,
 					 __floorl(x)==x&&x<=0.0
 					 ? 215 /* lgamma pole */