54807d47
1 2 3 4 5 6 7
#include <math.h> float roundf(float x) { __asm__ ("frinta %s0, %s1" : "=w"(x) : "w"(x)); return x; }