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/include | |
parent | 43f11a93385c4848bfad49510bdea2849f241816 (diff) |
add exp function
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ast.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/ast.h b/src/include/ast.h index d330ee5..77c3bc6 100644 --- a/src/include/ast.h +++ b/src/include/ast.h @@ -29,7 +29,7 @@ typedef struct AST_STRUCT { char *string_value; /* Also is symbol value */ int int_value; - double float_value; + long double float_value; bool bool_value; } ast_t; @@ -39,7 +39,7 @@ ast_t *init_ast_string(char *value); ast_t *init_ast_int(int value); -ast_t *init_ast_float(double value); +ast_t *init_ast_float(long double value); ast_t *init_ast_pair(ast_t *car, ast_t *cdr); |