Sign in
cobalt
/
cobalt
/
788710a0d7b1b8d8e2340dd5fad5e8783a239862
/
.
/
third_party
/
musl
/
src
/
math
/
aarch64
/
trunc.c
blob: e592147a0ca901d47df05a110bed3d0e8bece857 [
file
] [
log
] [
blame
]
#include
<math.h>
double
trunc
(
double
x
)
{
__asm__
(
"frintz %d0, %d1"
:
"=w"
(
x
)
:
"w"
(
x
));
return
x
;
}