Skip to content

Commit

Permalink
chore: comment change
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Jul 25, 2023
1 parent 31fc82b commit 50aa90c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,7 @@ impl GeneratedAcir {
//
// 2^{max_bits} is of max_bits+1 bit size
// If a>b, then a-b is less than 2^{max_bits} - 1, so 2^{max_bits} + a - b is less than 2^{max_bits} + 2^{max_bits} - 1 = 2^{max_bits+1} - 1
// If a <= b, then 2^{max_bits} + a - b is less than 2^{max_bits} <= 2^{max_bits+1} - 1
// This means that both operands of the division have at most max_bits+1 bit size.
//
// case: a == b
Expand Down

0 comments on commit 50aa90c

Please sign in to comment.