newlib/winsup/mingw/mingwex/math/fabsf.c

10 lines
112 B
C

#include <math.h>
float
fabsf (float x)
{
float res;
asm ("fabs;" : "=t" (res) : "0" (x));
return res;
}