only use memcpy realloc to shrink if an exact-sized free chunk exists
[oweals/musl.git] / src / math / i386 / llrintf.c
1 #include <math.h>
2
3 long long llrintf(float x)
4 {
5         long long r;
6         __asm__ ("fistpll %0" : "=m"(r) : "t"(x) : "st");
7         return r;
8 }