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