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
/
tanhl.c
diff --git
a/src/math/tanhl.c
b/src/math/tanhl.c
index
445793f
..
e62be59
100644
(file)
--- a/
src/math/tanhl.c
+++ b/
src/math/tanhl.c
@@
-35,12
+35,12
@@
#include "libm.h"
#include "libm.h"
-#if LD
6
4
+#if LD
BL_MANT_DIG == 53 && LDBL_MAX_EXP == 102
4
long double tanhl(long double x)
{
return tanh(x);
}
long double tanhl(long double x)
{
return tanh(x);
}
-#elif LD
80
+#elif LD
BL_MANT_DIG == 64 && LDBL_MAX_EXP == 16384
static const long double one=1.0, two=2.0, tiny = 1.0e-4900L;
long double tanhl(long double x)
static const long double one=1.0, two=2.0, tiny = 1.0e-4900L;
long double tanhl(long double x)