summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/mingwex/math/isnan.c
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/mingw/mingwex/math/isnan.c')
-rw-r--r--winsup/mingw/mingwex/math/isnan.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/winsup/mingw/mingwex/math/isnan.c b/winsup/mingw/mingwex/math/isnan.c
deleted file mode 100644
index b38bc290e..000000000
--- a/winsup/mingw/mingwex/math/isnan.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <math.h>
-
-int
-__isnan (double _x)
-{
- unsigned short _sw;
- __asm__ ("fxam;"
- "fstsw %%ax": "=a" (_sw) : "t" (_x));
- return (_sw & (FP_NAN | FP_NORMAL | FP_INFINITE | FP_ZERO | FP_SUBNORMAL))
- == FP_NAN;
-}
-
-#undef isnan
-int __attribute__ ((alias ("__isnan"))) isnan (double);