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