Skip to content

Commit

Permalink
and -> nor
Browse files Browse the repository at this point in the history
  • Loading branch information
Rigidity committed Jul 12, 2024
1 parent 6006f70 commit 87b8253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/src/bin/generate-modpow-tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ fn main() {
let base_len = to_atom(base.clone()).len();
let modulus_len = to_atom(modulus.clone()).len();

// CLVM uses neither `%` and `mod_euclid`, but rather `mod_floor`.
// CLVM uses neither `%` nor `mod_euclid`, but rather `mod_floor`.
let result = base.mod_floor(&modulus);
let result_len = to_atom(result.clone()).len();
let cost = 988 + base_len * 4 + modulus_len * 4 + result_len * 10;
Expand Down

0 comments on commit 87b8253

Please sign in to comment.