Researching 128bit integers

This commit is contained in:
Krzosa Karol
2022-06-05 12:12:54 +02:00
parent a73b12d54d
commit 968a6ac708
4 changed files with 200 additions and 7 deletions

View File

@@ -142,7 +142,7 @@ union{ \
bool bool_val; \
F64 f64_val; \
F32 f32_val; \
S8 s8_val; \
S8 s8_val; \
S16 s16_val; \
S32 s32_val; \
S64 s64_val; \
@@ -330,6 +330,7 @@ ast_int(Token *pos, U64 integer){
AST_NEW(Atom, VALUE, pos, AST_EXPR | AST_ATOM);
result->type = untyped_int;
result->int_val = integer;
// result->big_int = big_int(pctx->perm, integer); // @todo: int arena??
return result;
}