9443f1b5
1 2 3 4 5 6 7 8
#include <math.h> long long llrintl(long double x) { long long r; __asm__ ("fistpll %0" : "=m"(r) : "t"(x) : "st"); return r; }