Sign in
cobalt
/
cobalt
/
cc19caab3101a025a2ae4db11601ed3496c7d730
/
.
/
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
;
}