Skip to content

Commit

Permalink
chore: add comment about range constraints in quotient_directive
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Jul 10, 2023
1 parent 4b286c8 commit 4db75d9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,8 @@ impl GeneratedAcir {
}

/// Adds a directive which injects witnesses with values `q = a / b` and `r = a % b`.
///
/// Suitable range constraints are also applied to `q` and `r`.
pub(crate) fn quotient_directive(
&mut self,
a: Expression,
Expand Down

0 comments on commit 4db75d9

Please sign in to comment.