summaryrefslogblamecommitdiff
path: root/src/math/powerpc/fabsf.c
blob: d88b5911c0dd9829b849e4088d9ff58e32827e87 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                   
#include <math.h>

#ifdef _SOFT_FLOAT

#include "../fabsf.c"

#else

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

#endif