summaryrefslogtreecommitdiff
path: root/src/math/atanhl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/atanhl.c')
-rw-r--r--src/math/atanhl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/atanhl.c b/src/math/atanhl.c
index f63d60b1..87cd1cdb 100644
--- a/src/math/atanhl.c
+++ b/src/math/atanhl.c
@@ -5,7 +5,7 @@ long double atanhl(long double x)
{
return atanh(x);
}
-#elif LDBL_MANT_DIG == 64 && LDBL_MAX_EXP == 16384
+#elif (LDBL_MANT_DIG == 64 || LDBL_MANT_DIG == 113) && LDBL_MAX_EXP == 16384
/* atanh(x) = log((1+x)/(1-x))/2 = log1p(2x/(1-x))/2 ~= x + x^3/3 + o(x^5) */
long double atanhl(long double x)
{