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

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