summaryrefslogtreecommitdiff
path: root/src/math/expl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/expl.c')
-rw-r--r--src/math/expl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/math/expl.c b/src/math/expl.c
index b62980fa..0a7f44f6 100644
--- a/src/math/expl.c
+++ b/src/math/expl.c
@@ -119,4 +119,10 @@ long double expl(long double x)
x = 1.0 + 2.0 * x;
return scalbnl(x, k);
}
+#elif LDBL_MANT_DIG == 113 && LDBL_MAX_EXP == 16384
+// TODO: broken implementation to make things compile
+long double expl(long double x)
+{
+ return exp(x);
+}
#endif