kolibrios-gitea/programs/develop/libraries/newlib/math/rintf.c

8 lines
133 B
C
Raw Normal View History

#include <math.h>
float rintf (float x){
float retval;
__asm__ ("frndint;": "=t" (retval) : "0" (x));
return retval;
}