Sign in
third-party-mirror
/
mingw-w64
/
cdeef5332e32edddf27a0188cceaa450f216c50b
/
.
/
mingw-w64-crt
/
math
/
lrintl.c
blob: 06551ac13b49257a798d7031e05854cbb06884ec [
file
] [
log
] [
blame
]
#include
<math.h>
long
lrintl
(
long
double
x
)
{
long
retval
;
__asm__ __volatile__ \
(
"fistpl %0"
:
"=m"
(
retval
)
:
"t"
(
x
)
:
"st"
);
\
return
retval
;
}