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

8 lines
144 B
C

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