aboutsummaryrefslogtreecommitdiff
path: root/src/math/x86_64/sqrtl.c
blob: 81edf51df80ab79855255a3145247c94cc130f2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <math.h>

long double sqrtl(long double x)
{
	__asm__ ("fsqrt" : "+t"(x));
	return x;
}


#ifdef TEST
int
main(void) {
	return 0;
}
#endif