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
/
fabsf.c
1
#include <math.h>
2
#include <stdint.h>
3
4
float fabsf(float x)
5
{
6
union {float f; uint32_t i;} u = {x};
7
u.i &= 0x7fffffff;
8
return u.f;
9
}