Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement
sieve_lt
, sieve_geq
and sieve_segment
, as well as the…
…ir supporting types (#21) * sieve_geq::<N, MEM>(limit) * Remove redundant doclink * Add docstring to SieveError * Clearer comments and document MEM >= N * sieve_lt and sieve_geq have no currently known bugs * fix bugs in benchmarks * Fix potential bugs in primes_segment! * Formatting * Improve docstring examples for sieve_geq * Clarify usage of size_lt and sieve_geq * Return the right error variant * Add example that shows SieveError::TotalDoesntFitU64 * plural examples * Remove state from GenerationError * Clarify SieveOverrun in docstring * Correct error in SieveOverun docstring * Correct error in TooLargeLimit docstring * Clarify estimation of sieve size in primes_lt and primes_geq * Clarify MEM computation in sieve_lt * Clarify MEM computation in lib.rs docstring * Remove disclaimer for now fixed feature! * Implement sieve_segment
- Loading branch information