blob: e09ddd482a590f95f904965987da78e3bc5d5123 [file] [log] [blame]
#include <math.h>
long long llround(double x)
{
long long n;
__asm__ ("fcvtas %x0, %d1" : "=r"(n) : "w"(x));
return n;
}