newlib-cygwin/winsup/mingw/mingwex/math/sqrtf.c

10 lines
112 B
C
Raw Normal View History

#include <math.h>
float
sqrtf (float x)
{
float res;
asm ("fsqrt" : "=t" (res) : "0" (x));
return res;
}