Skip to content

Commit

Permalink
Explain geq and lt in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
JSorngard authored May 7, 2024
1 parent 3fb1f23 commit 73834fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ assert_eq!(PRIME_STATUS, [false, false, true, true, false, true, false, true, fa

## Arbitrary ranges

The crate provides prime generation and sieving functions with suffixes, e.g. `primes_geq` and `sieve_lt`,
that can be used to work with ranges that don't start at zero. They take two generics: the number of elements
to store in the binary and the size of the sieve used during evaluation. The sieve size must be the ceiling
The crate provides prime generation and sieving functions with suffixes, e.g. `primes_geq` (geq = greater than or equal to)
and `sieve_lt` (lt = less than), that can be used to work with ranges that don't start at zero. They take two generics:
the number of elements to return and the size of the sieve used during evaluation. The sieve size must be at least the ceiling
of the square root of the largest encountered value:
```rust
// ceil(sqrt(5_000_000_063)) = 70_711
Expand Down

0 comments on commit 73834fc

Please sign in to comment.