use #if LDBL_MANT_DIG == ... instead of custom LD80 etc macros
[libm] / src / math / fabsf.c
1 #include "libm.h"
2
3 float fabsf(float x)
4 {
5         union fshape u;
6
7         u.value = x;
8         u.bits &= (uint32_t)-1 / 2;
9         return u.value;
10 }