@@ -14,7 +14,7 @@ or check whether a number is prime in a const function.
1414
1515` no_std ` compatible when the ` serde ` feature is disabled.
1616
17- This version of the crate supports Rust versions 1.81.0 and up,
17+ This version of the crate supports Rust versions 1.81.0 and up,
1818while versions 0.8.7 and older support Rust versions 1.67.1 and up.
1919
2020## Example: generate primes at compile time and use them for related computations
@@ -61,11 +61,13 @@ assert!(CHECK);
6161
6262## Example: generate the three primes after 5000000031
6363
64- The crate also provides prime generation and sieving functionality for computing arrays of
65- large prime numbers above or below some limit, without having to also include every single prime number from 2 and up in the
66- resulting constant, and thus potentially the binary.
67- This functionality is most conveniently accessed through the macros ` primes_segment! ` and
68- ` sieve_segment! ` that automatically compute the size of the prime sieve that is needed for a certain computation.
64+ The crate also provides prime generation and sieving functionality for computing
65+ arrays of large prime numbers above or below some limit, without having to also
66+ include every single prime number from 2 and up in the resulting constant,
67+ and thus potentially the binary.
68+ This functionality is most conveniently accessed through the macros ` primes_segment! `
69+ and ` sieve_segment! ` that automatically compute the size of the prime sieve that
70+ is needed for a certain computation.
6971
7072Compute 3 primes greater than or equal to 5000000031:
7173
0 commit comments