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