Sign in
cobalt
/
cobalt
/
25902c6cb1ab9cfd8ae2ee6b0fb52953f73deda5
/
.
/
third_party
/
musl
/
src
/
math
/
aarch64
/
lroundf.c
blob: 32e51f3cc3c738214bde60d0873532415cdd4acc [
file
] [
log
] [
blame
]
#include
<math.h>
long
lroundf
(
float
x
)
{
long
n
;
__asm__
(
"fcvtas %x0, %s1"
:
"=r"
(
n
)
:
"w"
(
x
));
return
n
;
}