about summary refs log tree commit diff
path: root/src/math/expm1l.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/expm1l.c')
-rw-r--r--src/math/expm1l.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/math/expm1l.c b/src/math/expm1l.c
index 21a86c00..d1715078 100644
--- a/src/math/expm1l.c
+++ b/src/math/expm1l.c
@@ -114,4 +114,10 @@ long double expm1l(long double x)
 	x = px * qx + (px - 1.0);
 	return x;
 }
+#elif LDBL_MANT_DIG == 113 && LDBL_MAX_EXP == 16384
+// TODO: broken implementation to make things compile
+long double expm1l(long double x)
+{
+	return expm1(x);
+}
 #endif