summaryrefslogtreecommitdiff
path: root/src/math/__fpclassify.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/__fpclassify.c')
-rw-r--r--src/math/__fpclassify.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/math/__fpclassify.c b/src/math/__fpclassify.c
new file mode 100644
index 00000000..d6ec23bf
--- /dev/null
+++ b/src/math/__fpclassify.c
@@ -0,0 +1,20 @@
+# define TGSOURCE "__fpclassify.c"
+#include <math.h>
+#include "_tgmath.h"
+
+#if ! defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
+#include "FP_INFINITE.c"
+#include "FP_NAN.c"
+#include "FP_NORMAL.c"
+#include "FP_SUBNORMAL.c"
+#include "FP_ZERO.c"
+
+int TGFN(__fpclassify)(TYPE x)
+{
+ (void)x;
+ return FP_NORMAL;
+}
+
+/*
+LINK(m)
+*/