Sign in
cobalt
/
cobalt
/
25902c6cb1ab9cfd8ae2ee6b0fb52953f73deda5
/
.
/
third_party
/
musl
/
src
/
math
/
arm
/
sqrtf.c
blob: 32693293b49b777667923a5008bbb2145ddd930d [
file
] [
log
] [
blame
]
#include
<math.h>
#if (__ARM_PCS_VFP || (__VFP_FP__ && !__SOFTFP__)) && !BROKEN_VFP_ASM
float
sqrtf
(
float
x
)
{
__asm__
(
"vsqrt.f32 %0, %1"
:
"=t"
(
x
)
:
"t"
(
x
));
return
x
;
}
#else
#include
"../sqrtf.c"
#endif