blob: 2f7ecae333acc40c5d2685c4d0b072f8494c5dc0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/*
* Written by Michael Shalayeff. Public Domain
*/
#include <float.h>
#include <math.h>
double
sqrt(double x)
{
__asm__ volatile ("fsqrt,dbl %0, %0" : "+f" (x));
return (x);
}
__strong_alias(sqrtl, sqrt);
|