aboutsummaryrefslogtreecommitdiff
path: root/math/w_lgamma.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_lgamma.c')
-rw-r--r--math/w_lgamma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/w_lgamma.c b/math/w_lgamma.c
index 17c5460..a82b5e3 100644
--- a/math/w_lgamma.c
+++ b/math/w_lgamma.c
@@ -29,8 +29,8 @@ __lgamma(double x)
global variable. */
? &signgam
: &local_signgam);
- 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 */