coreutils/src/uu/factor
nicoo 1eabda91cf
factor: Split numeric.rs into multiple modules (#1567)
* factor::numeric: Start refactoring into multiple submodules

No change to the module's interface, but it should make it much easier to
keep the tests right next to the code they are related to.

Moreover, build.rs' dependency is now limited to numeric::{modular_inverse,
traits}, meaning that the rest of it can use build-time generated tables etc.

* factor::numeric: Move gcd (and its test) to a submodule

* factor::numeric: Move Montgomery arithmetic to its own module

Finally hollowed-out numeric.rs

* factor: Move numeric.rs to numeric/mod.rs

* factor::numeric: Fix an erroneous lint on obsolete Rust versions
2020-08-02 20:28:00 +02:00
..
benches factor::numeric::gcd: Add criterion-powered benchmark 2020-07-24 22:58:26 +02:00
src factor: Split numeric.rs into multiple modules (#1567) 2020-08-02 20:28:00 +02:00
build.rs factor: Split numeric.rs into multiple modules (#1567) 2020-08-02 20:28:00 +02:00
Cargo.toml factor::numeric::gcd: Add criterion-powered benchmark 2020-07-24 22:58:26 +02:00
sieve.rs docs ~ spell-check repairs and addition of exceptions 2020-05-30 01:36:02 -05:00