Sign in
mojo
/
mojo-testing
/
3d068bd1cab17bd3a8c442f101b5d08f7decf165
/
.
/
fusl
/
src
/
math
/
logbf.c
blob: 9c42fc7a9fd6bc7d5d2b85f357326b294d209889 [
file
]
#include
<math.h>
float
logbf
(
float
x
)
{
if
(!
isfinite
(
x
))
return
x
*
x
;
if
(
x
==
0
)
return
-
1
/
(
x
*
x
);
return
ilogbf
(
x
);
}