Sign in
cobalt
/
cobalt.git
/
25902c6cb1ab9cfd8ae2ee6b0fb52953f73deda5
/
.
/
third_party
/
musl
/
src
/
math
/
s390x
/
sqrt.c
blob: a80dc4a7d9eb1f06c7fe5a889b56ede26101a298 [
file
]
#include
<math.h>
#if defined(__HTM__) || __ARCH__ >= 9
double
sqrt
(
double
x
)
{
__asm__
(
"sqdbr %0, %1"
:
"=f"
(
x
)
:
"f"
(
x
));
return
x
;
}
#else
#include
"../sqrt.c"
#endif