about summary refs log tree commit diff
path: root/src/math/logl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/logl.c')
-rw-r--r--src/math/logl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/math/logl.c b/src/math/logl.c
index 03c5188f..5d536592 100644
--- a/src/math/logl.c
+++ b/src/math/logl.c
@@ -166,4 +166,10 @@ long double logl(long double x)
 	z = z + e * C1; /* This sum has an error of 1/2 lsb. */
 	return z;
 }
+#elif LDBL_MANT_DIG == 113 && LDBL_MAX_EXP == 16384
+// TODO: broken implementation to make things compile
+long double logl(long double x)
+{
+	return log(x);
+}
 #endif