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

11 lines
115 B
C

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