summaryrefslogtreecommitdiff
path: root/src/math/powl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/powl.c')
-rw-r--r--src/math/powl.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/math/powl.c b/src/math/powl.c
index ce6274cf..a765706d 100644
--- a/src/math/powl.c
+++ b/src/math/powl.c
@@ -513,5 +513,10 @@ static long double powil(long double x, int nn)
y = 1.0/y;
return y;
}
-
+#elif LDBL_MANT_DIG == 113 && LDBL_MAX_EXP == 16384
+// TODO: broken implementation to make things compile
+long double powl(long double x, long double y)
+{
+ return pow(x, y);
+}
#endif