Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 191 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 191 Bytes

Sieve

Implementation of "Sieve of Eratosthenes" by Elixir.

Usage

iex> primes = Sieve.make(100)
iex> Sieve.is_prime?(3, primes)
true
iex> Sieve.is_prime?(8, primes)
false