projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
make socketcall types common as they are same for all architectures
[oweals/musl.git]
/
src
/
math
/
logbf.c
1
#include <math.h>
2
3
float logbf(float x)
4
{
5
if (!isfinite(x))
6
return x * x;
7
if (x == 0)
8
return -1/(x*x);
9
return ilogbf(x);
10
}