From 545f3a7a3e148324981c7a3bffff8045ec60ea05 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Mon, 9 Jan 2023 23:05:10 -0800 Subject: add exp function --- src/print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/print.c') 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); } -- cgit