summaryrefslogtreecommitdiff
path: root/src/math/erfl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/erfl.c')
-rw-r--r--src/math/erfl.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/math/erfl.c b/src/math/erfl.c
index 96b74dee..e267c231 100644
--- a/src/math/erfl.c
+++ b/src/math/erfl.c
@@ -340,4 +340,14 @@ long double erfcl(long double x)
y = 0x1p-16382L;
return sign ? 2 - y : y*y;
}
+#elif LDBL_MANT_DIG == 113 && LDBL_MAX_EXP == 16384
+// TODO: broken implementation to make things compile
+long double erfl(long double x)
+{
+ return erf(x);
+}
+long double erfcl(long double x)
+{
+ return erfc(x);
+}
#endif