about summary refs log tree commit diff
path: root/math/w_lgammal.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_lgammal.c')
-rw-r--r--math/w_lgammal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/w_lgammal.c b/math/w_lgammal.c
index 1dc7e58622..8abe6a018f 100644
--- a/math/w_lgammal.c
+++ b/math/w_lgammal.c
@@ -33,8 +33,8 @@ __lgammal(long double x)
 					       global variable.  */
 					    ? &signgam
 					    : &local_signgam);
-	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_l(x, x,
 					   __floorl(x)==x&&x<=0.0L
 					   ? 215 /* lgamma pole */