Using arena as token array, remove arenas idea
This commit is contained in:
@@ -632,6 +632,10 @@ bool mul_u64_overflow(uint64_t op1, uint64_t op2, uint64_t *result)
|
||||
|
||||
#endif
|
||||
|
||||
// @! Big int: Maybe look into those bool operations?
|
||||
#pragma warning( push )
|
||||
#pragma warning( disable : 4804 )
|
||||
|
||||
void bigint_add(BigInt *dest, const BigInt *op1, const BigInt *op2)
|
||||
{
|
||||
assert(dest != op1);
|
||||
@@ -772,6 +776,8 @@ void bigint_add(BigInt *dest, const BigInt *op1, const BigInt *op2)
|
||||
dest->digit_count = i;
|
||||
normalize(dest);
|
||||
}
|
||||
#pragma warning( pop )
|
||||
|
||||
|
||||
void bigint_add_wrap(BigInt *dest, const BigInt *op1, const BigInt *op2, size_t bit_count, bool is_signed)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user