summaryrefslogtreecommitdiff
path: root/src/math/log1pl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/log1pl.c')
-rw-r--r--src/math/log1pl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/math/log1pl.c b/src/math/log1pl.c
index 37da46d2..141b5f0b 100644
--- a/src/math/log1pl.c
+++ b/src/math/log1pl.c
@@ -168,4 +168,10 @@ long double log1pl(long double xm1)
z = z + e * C1;
return z;
}
+#elif LDBL_MANT_DIG == 113 && LDBL_MAX_EXP == 16384
+// TODO: broken implementation to make things compile
+long double log1pl(long double x)
+{
+ return log1p(x);
+}
#endif