kolibrios/programs/develop/libraries/newlib/math/fabsf.c

10 lines
121 B
C
Raw Normal View History

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