Sign in
cobalt
/
cobalt
/
b48d5d342d8a80b19c4a69b353cdb8fdc6ab3789
/
.
/
third_party
/
musl
/
src
/
math
/
mips
/
sqrtf.c
blob: 84090d2d31f48b39c7c0a3c4ec39014764c7162c [
file
] [
log
] [
blame
]
#if !defined(__mips_soft_float) && __mips >= 2
#include
<math.h>
float
sqrtf
(
float
x
)
{
float
r
;
__asm__
(
"sqrt.s %0,%1"
:
"=f"
(
r
)
:
"f"
(
x
));
return
r
;
}
#else
#include
"../sqrtf.c"
#endif