This Sieve of Eratosthenes program works with variable size arrays. It is a straight forward extension of the original Gilbreath version ( Gilbreath, Jim. "A High-Level Language Benchmark." BYTE, September 1981, p. 180, and also Gilbreath, Jim and Gary. "Eratosthenes Revisited: Once More Through the Sieve." BYTE January 1983, p. 283 ). Unlike the Sieve of Gilbreath, NSIEVE uses register long variables, pointers,and large byte arrays via 'malloc()'. Maximum array size is currently set at 2.56 MBytes but this can be increased or decreased by changing the program LIMIT constant.
OS | Architecture | Version |
---|---|---|
NetBSD 10.0 | aarch64 | nsieve-1.2b.tgz |
NetBSD 10.0 | aarch64 | nsieve-1.2b.tgz |
NetBSD 10.0 | aarch64eb | nsieve-1.2b.tgz |
NetBSD 10.0 | aarch64eb | nsieve-1.2b.tgz |
NetBSD 10.0 | alpha | nsieve-1.2b.tgz |
NetBSD 10.0 | alpha | nsieve-1.2b.tgz |
NetBSD 10.0 | earmv4 | nsieve-1.2b.tgz |
NetBSD 10.0 | earmv4 | nsieve-1.2b.tgz |
NetBSD 10.0 | earmv6hf | nsieve-1.2b.tgz |
NetBSD 10.0 | earmv6hf | nsieve-1.2b.tgz |
NetBSD 10.0 | earmv6hf | nsieve-1.2b.tgz |
NetBSD 10.0 | earmv7hf | nsieve-1.2b.tgz |
NetBSD 10.0 | earmv7hf | nsieve-1.2b.tgz |
NetBSD 10.0 | earmv7hf | nsieve-1.2b.tgz |
NetBSD 10.0 | i386 | nsieve-1.2b.tgz |
NetBSD 10.0 | i386 | nsieve-1.2b.tgz |
NetBSD 10.0 | powerpc | nsieve-1.2b.tgz |
NetBSD 10.0 | powerpc | nsieve-1.2b.tgz |
NetBSD 10.0 | powerpc | nsieve-1.2b.tgz |
NetBSD 10.0 | sh3el | nsieve-1.2b.tgz |
NetBSD 10.0 | sh3el | nsieve-1.2b.tgz |
NetBSD 10.0 | sparc64 | nsieve-1.2b.tgz |
NetBSD 10.0 | sparc64 | nsieve-1.2b.tgz |
NetBSD 10.0 | sparc | nsieve-1.2b.tgz |
NetBSD 10.0 | sparc | nsieve-1.2b.tgz |
NetBSD 10.0 | vax | nsieve-1.2b.tgz |
NetBSD 10.0 | vax | nsieve-1.2b.tgz |
NetBSD 10.0 | vax | nsieve-1.2b.tgz |
NetBSD 10.0 | x86_64 | nsieve-1.2b.tgz |
NetBSD 10.0 | x86_64 | nsieve-1.2b.tgz |
NetBSD 9.0 | aarch64 | nsieve-1.2b.tgz |
NetBSD 9.0 | aarch64 | nsieve-1.2b.tgz |
NetBSD 9.0 | alpha | nsieve-1.2b.tgz |
NetBSD 9.0 | alpha | nsieve-1.2b.tgz |
NetBSD 9.0 | earmv4 | nsieve-1.2b.tgz |
NetBSD 9.0 | earmv6hf | nsieve-1.2b.tgz |
NetBSD 9.0 | earmv6hf | nsieve-1.2b.tgz |
NetBSD 9.0 | earmv6hf | nsieve-1.2b.tgz |
NetBSD 9.0 | earmv7hf | nsieve-1.2b.tgz |
NetBSD 9.0 | earmv7hf | nsieve-1.2b.tgz |
NetBSD 9.0 | earmv7hf | nsieve-1.2b.tgz |
NetBSD 9.0 | i386 | nsieve-1.2b.tgz |
NetBSD 9.0 | i386 | nsieve-1.2b.tgz |
NetBSD 9.0 | m68k | nsieve-1.2b.tgz |
NetBSD 9.0 | powerpc | nsieve-1.2b.tgz |
NetBSD 9.0 | powerpc | nsieve-1.2b.tgz |
NetBSD 9.0 | powerpc | nsieve-1.2b.tgz |
NetBSD 9.0 | sparc64 | nsieve-1.2b.tgz |
NetBSD 9.0 | x86_64 | nsieve-1.2b.tgz |
NetBSD 9.0 | x86_64 | nsieve-1.2b.tgz |
NetBSD 9.3 | x86_64 | nsieve-1.2b.tgz |
Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.
The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.
Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.
Problem reports, updates or suggestions for this package should be reported with send-pr.