Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheResize ¶ added in v0.41.0
func CacheResize(l int)
CacheResize sets the length of primeCache to l and fills it with primes
func FindPrimes ¶ added in v0.41.0
FindPrimes finds and returns all primes <= limit
func Index ¶
Index returns the index of the prime, or if p is not prime then the index below the next highest prime
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.