summaryrefslogtreecommitdiff
path: root/src/math/tanhl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/tanhl.c')
-rw-r--r--src/math/tanhl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/math/tanhl.c b/src/math/tanhl.c
index f594b85f..4e1aa9f8 100644
--- a/src/math/tanhl.c
+++ b/src/math/tanhl.c
@@ -39,4 +39,10 @@ long double tanhl(long double x)
}
return sign ? -t : t;
}
+#elif LDBL_MANT_DIG == 113 && LDBL_MAX_EXP == 16384
+// TODO: broken implementation to make things compile
+long double tanhl(long double x)
+{
+ return tanh(x);
+}
#endif