2 releases (1 stable)
1.0.0 | May 23, 2024 |
---|---|
0.1.0 | May 7, 2024 |
#432 in Math
2,522 downloads per month
Used in 28 crates
(via p3-field)
54KB
1.5K
SLoC
nums
This library contains some number theoretic functions, such as primality testing and factorization, for BigUint
s.
Status
Primality tests:
- Trial division
- Miller-Rabin
Factorization:
- Trial division
- Pollard's rho
- Quadratic sieve
- General number sieve
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Licensing
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~8MB
~135K SLoC