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

float sqrtf(float x)
{
	__asm__ ("sqrtss %1, %0" : "=x"(x) : "x"(x));
	return x;
}