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