1 2 3 4 5 6 7
#include <math.h> float rintf (float x){ float retval; __asm__ ("frndint;": "=t" (retval) : "0" (x)); return retval; }