Sign in
cobalt
/
cobalt
/
25902c6cb1ab9cfd8ae2ee6b0fb52953f73deda5
/
.
/
third_party
/
musl
/
src
/
math
/
i386
/
lrint.c
blob: 89563ab26959ede3218de550b97624d7edce556f [
file
] [
log
] [
blame
]
#include
<math.h>
long
lrint
(
double
x
)
{
long
r
;
__asm__
(
"fistpl %0"
:
"=m"
(
r
)
:
"t"
(
x
)
:
"st"
);
return
r
;
}