summaryrefslogtreecommitdiff
path: root/src/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/print.c')
-rw-r--r--src/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print.c b/src/print.c
index 65cfb66..d9fdbf8 100644
--- a/src/print.c
+++ b/src/print.c
@@ -13,7 +13,7 @@ void print_bool(ast_t *b) {
printf("F");
}
-void print_float(ast_t *f) { printf("%f", f->float_value); }
+void print_float(ast_t *f) { printf("%Lf", f->float_value); }
void print_symbol(ast_t *s) { printf(":%s", s->string_value); }