about summary refs log tree commit diff
path: root/src/math/powerpc64/fabs.c
blob: 6123c7535c6d6726cc0cbf311c57521b6900cdd5 (plain) (blame)
1
2
3
4
5
6
7
#include <math.h>

double fabs(double x)
{
	__asm__ ("fabs %0, %1" : "=d"(x) : "d"(x));
	return x;
}