about summary refs log tree commit diff
path: root/src/math/coshl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/coshl.c')
-rw-r--r--src/math/coshl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/math/coshl.c b/src/math/coshl.c
index 080e5eb0..06a56fe3 100644
--- a/src/math/coshl.c
+++ b/src/math/coshl.c
@@ -38,4 +38,10 @@ long double coshl(long double x)
 	t = expl(0.5*x);
 	return 0.5*t*t;
 }
+#elif LDBL_MANT_DIG == 113 && LDBL_MAX_EXP == 16384
+// TODO: broken implementation to make things compile
+long double coshl(long double x)
+{
+	return cosh(x);
+}
 #endif