projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mq_notify: block all (application) signals in the worker thread
[musl]
/
src
/
math
/
logbf.c
diff --git
a/src/math/logbf.c
b/src/math/logbf.c
index
950d356
..
a0a0b5e
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);
}