Back to index

glibc  2.9
e_sqrtl.c
Go to the documentation of this file.
00001 /*
00002  * Written by J.T. Conklin <jtc@netbsd.org>.
00003  * Public domain.
00004  *
00005  * Adapted for `long double' by Ulrich Drepper <drepper@cygnus.com>.
00006  */
00007 
00008 #include <math_private.h>
00009 
00010 long double
00011 __ieee754_sqrtl (long double x)
00012 {
00013   long double res;
00014 
00015   asm ("fsqrt" : "=t" (res) : "0" (x));
00016 
00017   return res;
00018 }