projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
math: add dummy implementations of 128 bit long double functions
[oweals/musl.git]
/
src
/
math
/
expl.c
diff --git
a/src/math/expl.c
b/src/math/expl.c
index b62980fa4065f3043f57a76eeb9b4ad9f93c0c28..0a7f44f685ee3b708962dc9683698ffcd8074775 100644
(file)
--- 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