blob: 32e51f3cc3c738214bde60d0873532415cdd4acc [file] [log] [blame]
#include <math.h>
long lroundf(float x)
{
long n;
__asm__ ("fcvtas %x0, %s1" : "=r"(n) : "w"(x));
return n;
}