Add incomplet long double math support to libmingwex.a
This commit is contained in:
6
winsup/mingw/mingwex/math/rint.c
Normal file
6
winsup/mingw/mingwex/math/rint.c
Normal file
@@ -0,0 +1,6 @@
|
||||
#include <math.h>
|
||||
double rint (double x){
|
||||
double retval;
|
||||
__asm__ ("frndint;" : "=t" (retval) : "0" (x));
|
||||
return retval;
|
||||
}
|
Reference in New Issue
Block a user