summaryrefslogtreecommitdiff
path: root/lib/libm/aarch64/fabsf.c
blob: dd6527818ef595703be40733d6a6cee363275145 (plain)
1
2
3
4
5
6
7
#include <math.h>

float fabsf(float x)
{
	__asm__("fabs %s0, %s1" : "=w"(x) : "w"(x));
	return x;
}