remove another invalid skip of locking in ungetwc
[oweals/musl.git] / src / math / logbf.c
index 950d35697bbe4abaa9a0ac83b70d5dbf6229359b..a0a0b5ed5be57de3e3ce05811af631f2ca88898a 100644 (file)
@@ -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);
 }