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/ast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ast.c') diff --git a/src/ast.c b/src/ast.c index 5325ebe..ccbf748 100644 --- a/src/ast.c +++ b/src/ast.c @@ -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; -- cgit