Crates.io | squfof |
lib.rs | squfof |
version | 0.3.0 |
source | src |
created_at | 2021-01-03 08:53:57.789079 |
updated_at | 2024-08-31 05:41:56.381815 |
description | Shanks's square forms factorization |
homepage | |
repository | https://gitlab.com/Toru3/squfof |
max_upload_size | |
id | 330955 |
size | 11,315 |
use squfof::square_form_factorization;
let n = 991 * 997;
let f = square_form_factorization(n).unwrap();
assert!(f == 991 || f == 997);
AGPL-3.0-or-later