Sign in
cobalt
/
cobalt
/
cc19caab3101a025a2ae4db11601ed3496c7d730
/
.
/
third_party
/
musl
/
src
/
math
/
aarch64
/
round.c
blob: 897a84cc2a043b2e8fdaef03fc2bbd665bde5366 [
file
] [
log
] [
blame
]
#include
<math.h>
double
round
(
double
x
)
{
__asm__
(
"frinta %d0, %d1"
:
"=w"
(
x
)
:
"w"
(
x
));
return
x
;
}