projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove another invalid skip of locking in ungetwc
[oweals/musl.git]
/
src
/
math
/
logbf.c
diff --git
a/src/math/logbf.c
b/src/math/logbf.c
index 950d35697bbe4abaa9a0ac83b70d5dbf6229359b..a0a0b5ed5be57de3e3ce05811af631f2ca88898a 100644
(file)
--- a/
src/math/logbf.c
+++ b/
src/math/logbf.c
@@
-1,10
+1,10
@@
-#include
"libm.h"
+#include
<math.h>
float logbf(float x)
{
if (!isfinite(x))
return x * x;
if (x == 0)
- return -1/(x
+0
);
+ return -1/(x
*x
);
return ilogbf(x);
}