aboutsummaryrefslogtreecommitdiffstats
path: root/src/define-functions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/define-functions.h')
-rw-r--r--src/define-functions.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/define-functions.h b/src/define-functions.h
index 4952fe0..3a44829 100644
--- a/src/define-functions.h
+++ b/src/define-functions.h
@@ -2,12 +2,24 @@
#define PROCESS process_lf
#define TYPE double
+#define SCAN_TYPE "lf"
+#define PRINT_TYPE "lf"
+#define PRINT_CAST double
#include FILE
#undef PROCESS
#undef TYPE
+#undef SCAN_TYPE
+#undef PRINT_TYPE
+#undef PRINT_CAST
#define PROCESS process_f
#define TYPE float
+#define SCAN_TYPE "f"
+#define PRINT_TYPE "lf"
+#define PRINT_CAST double
#include FILE
#undef PROCESS
#undef TYPE
+#undef SCAN_TYPE
+#undef PRINT_TYPE
+#undef PRINT_CAST