Sign in
android
/
platform
/
external
/
musl
/
3da2b5cceae98f5098e62e7865fe6433c1e82775
/
.
/
src
/
math
/
mips
/
sqrt.c
blob: 595c9dbc36232db1469359f36654e37dba2b534d [
file
] [
log
] [
blame
]
#if !defined(__mips_soft_float) && __mips >= 3
#include
<math.h>
double
sqrt
(
double
x
)
{
double
r
;
__asm__
(
"sqrt.d %0,%1"
:
"=f"
(
r
)
:
"f"
(
x
));
return
r
;
}
#else
#include
"../sqrt.c"
#endif