Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(integer): remove double carry prop in sub
The subtraction is done via addition of the negation, the negation is done via unchecked_neg, this will make the first block have a carry. Then we called add_assign_with_carry_parallelized which did a carry propagation on the rhs which here is the negated value, meaning the subtraction would do 2 carry propagation. To fix that we directly call the lower function.
- Loading branch information