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
/
logbl.c
diff --git
a/src/math/logbl.c
b/src/math/logbl.c
index
f385074
..
962973a
100644
(file)
--- a/
src/math/logbl.c
+++ b/
src/math/logbl.c
@@
-1,4
+1,4
@@
-#include
"libm.h"
+#include
<math.h>
#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
long double logbl(long double x)
{
@@
-10,7
+10,7
@@
long double logbl(long double x)
if (!isfinite(x))
return x * x;
if (x == 0)
- return -1/(x
+0
);
+ return -1/(x
*x
);
return ilogbl(x);
}
#endif