diff options
author | Preston Pan <preston@nullring.xyz> | 2023-01-09 23:05:10 -0800 |
---|---|---|
committer | Preston Pan <preston@nullring.xyz> | 2023-01-09 23:05:10 -0800 |
commit | 545f3a7a3e148324981c7a3bffff8045ec60ea05 (patch) | |
tree | bbd8f1ce1a656047139efcf1a073220546d0dfd7 /src/print.c | |
parent | 43f11a93385c4848bfad49510bdea2849f241816 (diff) |
add exp function
Diffstat (limited to 'src/print.c')
-rw-r--r-- | src/print.c | 2 |
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); } |