Sign in
cobalt
/
cobalt
/
3dc8b3855f2b32702936add58a952cac6687ac3d
/
.
/
third_party
/
musl
/
src
/
math
/
aarch64
/
nearbyintf.c
blob: 8e7f61df8c40ae541d666b538865bd9ac3877f87 [
file
] [
log
] [
blame
]
#include
<math.h>
float
nearbyintf
(
float
x
)
{
__asm__
(
"frinti %s0, %s1"
:
"=w"
(
x
)
:
"w"
(
x
));
return
x
;
}