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