2001-05-06 17:03:45 +00:00
|
|
|
/*
|
|
|
|
* Written by J.T. Conklin <jtc@netbsd.org>.
|
|
|
|
* Public domain.
|
|
|
|
*
|
|
|
|
* Adapted for `long double' by Ulrich Drepper <drepper@cygnus.com>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <math_private.h>
|
|
|
|
|
2011-10-12 11:27:51 -04:00
|
|
|
#undef __ieee754_sqrtl
|
2001-05-06 17:03:45 +00:00
|
|
|
long double
|
|
|
|
__ieee754_sqrtl (long double x)
|
|
|
|
{
|
|
|
|
long double res;
|
|
|
|
|
|
|
|
asm ("fsqrt" : "=t" (res) : "0" (x));
|
|
|
|
|
|
|
|
return res;
|
|
|
|
}
|
2011-10-12 11:27:51 -04:00
|
|
|
strong_alias (__ieee754_sqrtl, __sqrtl_finite)
|