Sign in
fuchsia
/
zircon
/
/
13ee3dc5e4c46bf127977ad28645c47442ec517d
/
.
/
third_party
/
ulib
/
musl
/
src
/
math
/
logbf.c
blob: 89a271642b8a3083fee8b0e892785641af390b4c [
file
] [
log
] [
blame
]
#include
<math.h>
float
logbf
(
float
x
)
{
if
(!
isfinite
(
x
))
return
x
*
x
;
if
(
x
==
0
)
return
-
1
/
(
x
*
x
);
return
ilogbf
(
x
);
}