projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
getaddrinfo: add EAI_NODATA error code to distinguish NODATA vs NxDomain
[musl]
/
src
/
math
/
coshl.c
diff --git
a/src/math/coshl.c
b/src/math/coshl.c
index
080e5eb
..
06a56fe
100644
(file)
--- a/
src/math/coshl.c
+++ b/
src/math/coshl.c
@@
-38,4
+38,10
@@
long double coshl(long double x)
t = expl(0.5*x);
return 0.5*t*t;
}
+#elif LDBL_MANT_DIG == 113 && LDBL_MAX_EXP == 16384
+// TODO: broken implementation to make things compile
+long double coshl(long double x)
+{
+ return cosh(x);
+}
#endif