primes
0.1.0
All Items
Crate Items
Modules
Structs
Constants
Statics
Functions
Crate
primes
Copy item path
Source
Modules
ยง
basic
๐
cache
๐
sieve
๐
under1000
๐
under100000
๐
Structs
ยง
Cache
Primes
Sieve
Constants
ยง
UNDER_
1000
Statics
ยง
UNDER_
100000
Functions
ยง
is_
prime
Returns true if n is prime. Checks a fixed set of known primes, then loops.
primes