factor/basis/math/primes/erato
Rupert Swarbrick cd28c7a219 math.primes.erato: Fix off-by-one error
The sieve bit vector deals with numbers in chunks of 30. Therefore,
the number 90 (say) is the 91st 'element' of the vector. Each byte
deals with some range {0,1,...,29}+30n so to have the number 90, you
need four bytes.

Rather pleasingly, I bumped into this bug and it reduced to the
incantation:
  2010 2010 sieve marked-prime?
2010-11-02 17:34:24 +01:00
..
authors.txt Move math.primes from extra to basis 2009-01-07 21:12:48 +01:00
erato-docs.factor math.primes.erato: fix typo in docs 2010-10-22 18:26:08 -07:00
erato-tests.factor math.primes.erato: Fix off-by-one error 2010-11-02 17:34:24 +01:00
erato.factor math.primes.erato: Fix off-by-one error 2010-11-02 17:34:24 +01:00
summary.txt Move math.primes from extra to basis 2009-01-07 21:12:48 +01:00