aboutsummaryrefslogtreecommitdiff
path: root/math/w_tgammal.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_tgammal.c')
-rw-r--r--math/w_tgammal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/w_tgammal.c b/math/w_tgammal.c
index 4e2d66a..b3a9e4a 100644
--- a/math/w_tgammal.c
+++ b/math/w_tgammal.c
@@ -28,8 +28,8 @@ __tgammal(long double x)
int local_signgam;
long double y = __ieee754_gammal_r(x,&local_signgam);
- if(__glibc_unlikely (!__finitel (y) || y == 0)
- && (__finitel (x) || __isinfl (x) < 0)
+ if(__glibc_unlikely (!isfinite (y) || y == 0)
+ && (isfinite (x) || isinf (x) < 0)
&& _LIB_VERSION != _IEEE_) {
if(x==0.0)
return __kernel_standard_l(x,x,250); /* tgamma pole */