Gentoo Archives: gentoo-dev

From: Krzysiek Pawlik <nelchael@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Eclass for prime numbers
Date: Sun, 12 Feb 2006 18:11:34
Message-Id: 43EF792D.9080705@gentoo.org
In Reply to: Re: [gentoo-dev] Eclass for prime numbers by Michael Hanselmann
1 Michael Hanselmann wrote:
2 >> In what range do you need the random numbers?
3 >
4 > For this ebuild, lower than 1000.
5 >
6 >> And I guess a 32-bit prime is out of reach :-)
7 >
8 > Indeed.
9
10 So maybe use a precomputed table of primes <1000 ?
11
12 --
13 Krzysiek Pawlik <nelchael at gentoo.org> key id: 0xBC555551
14 desktop-misc, desktop-dock, x86, java...

Attachments

File name MIME type
signature.asc application/pgp-signature