musl-tcc/src/math/powerpc64/fabsf.c

8 lines
100 B
C

#include <math.h>
float fabsf(float x)
{
__asm__ ("fabs %0, %1" : "=f"(x) : "f"(x));
return x;
}