xref: /openbsd-src/lib/libm/arch/hppa/e_sqrtf.c (revision 50b7afb2c2c0993b0894d4e34bf857cb13ed9c80)
1 /*
2  * Written by Michael Shalayeff. Public Domain
3  */
4 
5 #include "math.h"
6 
7 float
8 sqrtf(float x)
9 {
10 	__asm__ volatile ("fsqrt,sgl %0, %0" : "+f" (x));
11 	return (x);
12 }
13