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






                                                     
#include <math.h>

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