blob: 91637eaa1204ad92c451722b87c972231ecf55af [file] [log] [blame]
#include <math.h>
float roundf(float x)
{
__asm__ ("frinta %s0, %s1" : "=w"(x) : "w"(x));
return x;
}