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
/
logl.c
diff --git
a/src/math/logl.c
b/src/math/logl.c
index 03c5188fd9d79389d938cff1b6900ea90fa4aaf3..5d5365929e62a351c4544bd9e6aace6e02834292 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