blob: 81ba8ba38f4015ed8777cbd1b857264f30f04cd9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/*
* Written by Michael Shalayeff. Public Domain
*/
#if defined(LIBM_SCCS) && !defined(lint)
static char rcsid[] = "$OpenBSD: e_sqrtf.c,v 1.1 2002/05/22 20:55:56 mickey Exp $";
#endif
#include "math.h"
float
__ieee754_sqrtf(float x)
{
__asm__ __volatile__ ("fsqrt,sgl %0, %0" : "+f" (x));
return (x);
}
|