File tree Expand file tree Collapse file tree 4 files changed +9
-0
lines changed Expand file tree Collapse file tree 4 files changed +9
-0
lines changed Original file line number Diff line number Diff line change
1
+ //! This module contains an implementation of a type that functions as a cache of prime numbers
2
+ //! for related computations.
3
+
1
4
use crate :: { primes, Underlying } ;
2
5
3
6
// region: Primes<N>
Original file line number Diff line number Diff line change
1
+ //! This module contains implementations of prime generation functions.
2
+
1
3
use core:: fmt;
2
4
3
5
use crate :: { sieve, sieve:: sieve_segment, Underlying } ;
Original file line number Diff line number Diff line change
1
+ //! This module contains implementations of functions that search for primes that neighbour a given number.
2
+
1
3
use crate :: is_prime;
2
4
3
5
/// Returns the largest prime smaller than `n` if there is one.
Original file line number Diff line number Diff line change
1
+ //! This module contains implementations of prime sieves.
2
+
1
3
use core:: fmt;
2
4
3
5
use crate :: isqrt;
You can’t perform that action at this time.
0 commit comments