mirror of
https://github.com/uutils/coreutils
synced 2024-11-16 17:58:06 +00:00
polish/factor ~ correct spelling
This commit is contained in:
parent
c5296f00d0
commit
ae06368cd8
1 changed files with 2 additions and 2 deletions
|
@ -269,7 +269,7 @@ mod tests {
|
|||
#[test]
|
||||
fn factor_recombines_strong_pseudoprime() {
|
||||
// This is a strong pseudoprime (wrt. miller_rabin::BASIS)
|
||||
// and triggered a bug in rho::factor's codepath handling
|
||||
// and triggered a bug in rho::factor's code path handling
|
||||
// miller_rabbin::Result::Composite
|
||||
let pseudoprime = 17179869183;
|
||||
for _ in 0..20 {
|
||||
|
@ -300,7 +300,7 @@ impl quickcheck::Arbitrary for Factors {
|
|||
let mut n = u64::MAX;
|
||||
|
||||
// Adam Kalai's algorithm for generating uniformly-distributed
|
||||
// integers and their factorisation.
|
||||
// integers and their factorization.
|
||||
//
|
||||
// See Generating Random Factored Numbers, Easily, J. Cryptology (2003)
|
||||
'attempt: loop {
|
||||
|
|
Loading…
Reference in a new issue