Sign in
cobalt
/
cobalt
/
6f9a742d28df516936362c4ae00efbea9c3b06f2
/
.
/
third_party
/
musl
/
src
/
math
/
arm
/
sqrt.c
blob: 874af9606c3c863a05a96ad89aa04c000fe37e69 [
file
] [
log
] [
blame
]
#include
<math.h>
#if __ARM_PCS_VFP || (__VFP_FP__ && !__SOFTFP__)
double
sqrt
(
double
x
)
{
__asm__
(
"vsqrt.f64 %P0, %P1"
:
"=w"
(
x
)
:
"w"
(
x
));
return
x
;
}
#else
#include
"../sqrt.c"
#endif