summaryrefslogtreecommitdiff
path: root/src/math/float_t.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/float_t.c')
-rw-r--r--src/math/float_t.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/math/float_t.c b/src/math/float_t.c
new file mode 100644
index 00000000..251f5b2e
--- /dev/null
+++ b/src/math/float_t.c
@@ -0,0 +1,16 @@
+#include <math.h>
+
+#if FLT_EVAL_METHOD == 0
+typedef float float_t;
+#elif FLT_EVAL_METHOD == 1
+typedef double float_t;
+#elif FLT_EVAL_METHOD == 2
+typedef long double float_t;
+#else
+ /* implementation defined */
+#endif
+
+/*
+STDC(199901)
+LINK(m)
+*/