We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
modular
On 2022-06-03 @recmo wrote in 2f6a5d6 “Merge pull request #103 from recmo/mulmod”:
2f6a5d6
a^b)^c = a^(b * c). Which requires carmichael fn.
// TODO: Increase cases when perf is better. let mut config = Config::default(); config.cases = min(config.cases, if BITS > 500 { 3 } else { 10 }); proptest!(config, |(a: U, b: U, c: U, m: U)| { // TODO: a^(b+c) = a^b * a^c. Which requires carmichael fn. // TODO: (a^b)^c = a^(b * c). Which requires carmichael fn. assert_eq!(a.mul_mod(b, m).pow_mod(c, m), a.pow_mod(c, m).mul_mod(b.pow_mod(c, m), m)); }); }); } }
From src/modular.rs:182
src/modular.rs:182
The text was updated successfully, but these errors were encountered:
recmo
No branches or pull requests
On 2022-06-03 @recmo wrote in
2f6a5d6
“Merge pull request #103 from recmo/mulmod”:a^b)^c = a^(b * c). Which requires carmichael fn.
From
src/modular.rs:182
The text was updated successfully, but these errors were encountered: