// HTML file for PicoWeb "sieve" project Sieve of Eratosthenes Prime Number C Program

PicoWeb Logo

Lightner Engineering
PicoWebTM Server v$$VERSION$$


Sieve of Eratosthenes Prime Number C Program

`psieve.cgi`

`pshow_count.cgi` primes found.

PicoWeb's Sieve of Eratosthenes prime number program was adapted from January 1983 BYTE Magazine PC benchmark C-program "sieve.c". The PicoWeb version uses a bit-array in place of a byte-array for the "sieve" in order to conserve RAM. The routine uses a total of `pshow_flags_bytes.cgi` bytes on the stack for this bit-array. The sieve C-program code is `pshow_sieve_size.cgi` bytes long.

©2000 Lightner Engineering

Powered by PicoWeb™  v$$VERSION$$ (www.picoweb.net)