projects
/
musl
/ 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
[musl]
/
src
/
math
/
logl.c
diff --git
a/src/math/logl.c
b/src/math/logl.c
index
03c5188
..
5d53659
100644
(file)
--- 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