Sign in
mojo
/
mojo-testing
/
17e3b04429ce6ad836128e1ceffefd85493ec779
/
.
/
fusl
/
src
/
math
/
arm
/
sqrt.c
blob: 20f559e40375d6a7abe16533e45bd82ab479062a [
file
]
#include
<math.h>
#if __VFP_FP__ && !__SOFTFP__
double
sqrt
(
double
x
)
{
__asm__
(
"vsqrt.f64 %P0, %P1"
:
"=w"
(
x
)
:
"w"
(
x
));
return
x
;
}
#else
#include
"../sqrt.c"
#endif