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