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/ast.c | |
parent | 43f11a93385c4848bfad49510bdea2849f241816 (diff) |
add exp function
Diffstat (limited to 'src/ast.c')
-rw-r--r-- | src/ast.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -26,7 +26,7 @@ ast_t *init_ast_int(int value) { return a; } -ast_t *init_ast_float(double value) { +ast_t *init_ast_float(long double value) { ast_t *a = init_ast(AST_FLOAT); a->float_value = value; return a; |