summaryrefslogblamecommitdiff
path: root/src/math/powerpc64/fabsf.c
blob: e9e45643d28eba3f37b4d69c37061d1066ab0561 (plain) (tree)
1
2
3
4
5
6
7






                                                   
#include <math.h>

float fabsf(float x)
{
	__asm__ ("fabs %0, %1" : "=f"(x) : "f"(x));
	return x;
}