7 releases

0.3.0 Aug 31, 2024
0.2.5 Aug 31, 2024
0.2.4 Feb 13, 2022
0.2.1 Aug 4, 2021
0.1.0 Jan 3, 2021

#102 in No standard library

AGPL-3.0-or-later

10KB
258 lines

Shanks's square forms factorization

example

use squfof::square_form_factorization;
let n = 991 * 997;
let f = square_form_factorization(n).unwrap();
assert!(f == 991 || f == 997);

Licence

AGPL-3.0-or-later

Dependencies

~260KB