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