9 lines
132 B
C
9 lines
132 B
C
|
#include <math.h>
|
||
|
|
||
|
long long llrintl(long double x)
|
||
|
{
|
||
|
long long r;
|
||
|
__asm__ ("fistpll %0" : "=m"(r) : "t"(x) : "st");
|
||
|
return r;
|
||
|
}
|