aboutsummaryrefslogtreecommitdiff
path: root/math/w_tgamma_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_tgamma_compat.c')
-rw-r--r--math/w_tgamma_compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/w_tgamma_compat.c b/math/w_tgamma_compat.c
index 219aa10..910d2fe 100644
--- a/math/w_tgamma_compat.c
+++ b/math/w_tgamma_compat.c
@@ -33,7 +33,7 @@ __tgamma(double x)
&& _LIB_VERSION != _IEEE_) {
if (x == 0.0)
return __kernel_standard(x,x,50); /* tgamma pole */
- else if(__floor(x)==x&&x<0.0)
+ else if(floor(x)==x&&x<0.0)
return __kernel_standard(x,x,41); /* tgamma domain */
else if (y == 0)
__set_errno (ERANGE); /* tgamma underflow */