1 /* $OpenBSD: e_sqrtf.c,v 1.6 2016/09/12 19:47:01 guenther Exp $ */ 2 /* 3 * Written by Michael Shalayeff. Public Domain 4 */ 5 6 #include "math.h" 7 8 float 9 sqrtf(float x) 10 { 11 __asm__ volatile ("fsqrt,sgl %0, %0" : "+f" (x)); 12 return (x); 13 } 14 DEF_STD(sqrtf); 15