We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d0ff94 commit b6cb3c4Copy full SHA for b6cb3c4
curta/src/chip/field/den.rs
@@ -32,9 +32,9 @@ pub struct FpDenInstruction<P: FieldParameters> {
32
}
33
34
impl<L: AirParameters> AirBuilder<L> {
35
- /// Computes the element `a / (1 - b)` when `sign == true` and `a / (1 + b)` when `sign == 1`.
+ /// Computes the element `a / (1 - b)` when `sign == 0` and `a / (1 + b)` when `sign == 1`.
36
///
37
- /// The constraints in `fp_den` only check that `result * (1 + sign * b) = a mod p`, they do NOT
+ /// The constraints in `fp_den` only check that `result * denominator = a mod p`, they do NOT
38
/// check that the denominator is non-zero[^1].
39
40
/// [^1]: The reason is that the main use of this instruction is for Edwards addition in which we
0 commit comments