Sign in
cobalt
/
cobalt
/
b108943525536ed016362e9c99ce219a9c351109
/
.
/
third_party
/
musl
/
src
/
math
/
aarch64
/
llround.c
blob: e09ddd482a590f95f904965987da78e3bc5d5123 [
file
] [
log
] [
blame
]
#include
<math.h>
long
long
llround
(
double
x
)
{
long
long
n
;
__asm__
(
"fcvtas %x0, %d1"
:
"=r"
(
n
)
:
"w"
(
x
));
return
n
;
}