forked from KolibriOS/kolibrios
7 lines
134 B
C
7 lines
134 B
C
|
#include <math.h>
|
||
|
double rint (double x){
|
||
|
double retval;
|
||
|
__asm__ ("frndint;" : "=t" (retval) : "0" (x));
|
||
|
return retval;
|
||
|
}
|