projects
/
libm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use #if LDBL_MANT_DIG == ... instead of custom LD80 etc macros
[libm]
/
src
/
math
/
tgammal.c
diff --git
a/src/math/tgammal.c
b/src/math/tgammal.c
index
1bd6a33
..
e590550
100644
(file)
--- a/
src/math/tgammal.c
+++ b/
src/math/tgammal.c
@@
-54,12
+54,12
@@
#include "libm.h"
-#if LD
6
4
+#if LD
BL_MANT_DIG == 53 && LDBL_MAX_EXP == 102
4
long double tgammal(long double x)
{
return tgamma(x);
}
-#elif LD
80
+#elif LD
BL_MANT_DIG == 64 && LDBL_MAX_EXP == 16384
/*
tgamma(x+2) = tgamma(x+2) P(x)/Q(x)
0 <= x <= 1