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