newlib-cygwin/winsup/mingw/mingwex/math/rint.c

7 lines
128 B
C
Raw Normal View History

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