actually print p2's bits instead of p1's
This commit is contained in:
parent
f822767a02
commit
e96c391fa0
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ fn main() {
|
||||||
println!("p1 ({b} bits): 0x{p1:X}", b = p1.bits());
|
println!("p1 ({b} bits): 0x{p1:X}", b = p1.bits());
|
||||||
|
|
||||||
let p2: BigUint = thread_rng().gen_prime_exact(n, Some(PrimalityTestConfig::strict()));
|
let p2: BigUint = thread_rng().gen_prime_exact(n, Some(PrimalityTestConfig::strict()));
|
||||||
println!("p2 ({b} bits): 0x{p2:X}", b = p1.bits());
|
println!("p2 ({b} bits): 0x{p2:X}", b = p2.bits());
|
||||||
|
|
||||||
println!();
|
println!();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue