summaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'types.h')
-rw-r--r--types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/types.h b/types.h
index e3a251e..c213ff7 100644
--- a/types.h
+++ b/types.h
@@ -25,6 +25,9 @@ typedef int64_t I64;
typedef float F32;
typedef double F64;
+#define F32_FMT "%.16f"
+#define F64_FMT "%.16f"
+
typedef U32 IdentID; /* identifier ID for cgen (anonymous variables) */
typedef uint32_t LineNo;