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

#126 in No standard library

Download history 4/week @ 2024-10-07 13/week @ 2024-12-09

256 downloads per month

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