diff options
Diffstat (limited to 'winsup/mingw/mingwex/math/fabsl.c')
-rw-r--r-- | winsup/mingw/mingwex/math/fabsl.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/winsup/mingw/mingwex/math/fabsl.c b/winsup/mingw/mingwex/math/fabsl.c new file mode 100644 index 000000000..eead724d4 --- /dev/null +++ b/winsup/mingw/mingwex/math/fabsl.c @@ -0,0 +1,9 @@ +#include <math.h> + +long double +fabsl (long double x) +{ + long double res; + asm ("fabs;" : "=t" (res) : "0" (x)); + return res; +} |