1 /* 2 * Written by Michael Shalayeff. Public Domain 3 */ 4 5 #include "math.h" 6 7 float 8 rintf(float x) 9 { 10 __asm__ __volatile__("frnd,sgl %0,%0" : "+f" (x)); 11 12 return (x); 13 } 14