summary refs log tree commit diff
path: root/math/w_lgammaf.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_lgammaf.c')
-rw-r--r--math/w_lgammaf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/w_lgammaf.c b/math/w_lgammaf.c
index f3166dfd33..dac69dd32a 100644
--- a/math/w_lgammaf.c
+++ b/math/w_lgammaf.c
@@ -26,8 +26,8 @@ __lgammaf(float x)
 					 global variable.  */
 				      ? &signgam
 				      : &local_signgam);
-	if(__builtin_expect(!__finitef(y), 0)
-	   && __finitef(x) && _LIB_VERSION != _IEEE_)
+	if(__builtin_expect(!isfinite(y), 0)
+	   && isfinite(x) && _LIB_VERSION != _IEEE_)
 		return __kernel_standard_f(x, x,
 					   __floorf(x)==x&&x<=0.0f
 					   ? 115 /* lgamma pole */