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