Sign in
cobalt
/
cobalt
/
64122ebb4f1c532e31e9338229fcced8940c607c
/
.
/
third_party
/
musl
/
src
/
math
/
aarch64
/
roundf.c
blob: 91637eaa1204ad92c451722b87c972231ecf55af [
file
] [
log
] [
blame
]
#include
<math.h>
float
roundf
(
float
x
)
{
__asm__
(
"frinta %s0, %s1"
:
"=w"
(
x
)
:
"w"
(
x
));
return
x
;
}