blob: 55c8b296d4d7357bc6f622ff5358093b650c55c7 [file] [log] [blame]
#include <math.h>
#include <stdint.h>
float fabsf(float x) {
union {
float f;
uint32_t i;
} u = {x};
u.i &= 0x7fffffff;
return u.f;
}