This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: [PATCH] BigInteger(int numBits, Random rnd) distribution not uniform
- To: Mark J Roberts <mjr at anarcast dot net>
- Subject: Re: [PATCH] BigInteger(int numBits, Random rnd) distribution not uniform
- From: Tom Tromey <tromey at redhat dot com>
- Date: 17 Aug 2001 15:30:21 -0600
- Cc: java at gcc dot gnu dot org
- References: <20010813113047.A30620@foobar>
- Reply-To: tromey at redhat dot com
>>>>> "Mark" == Mark J Roberts <mjr@anarcast.net> writes:
Mark> The generated BigIntegers were consistently too large, so the
Mark> loop never exited. With this patch, our code works, and the
Mark> distribution seems even:
Thanks. I'm going to check this in. For those interested, there was
a brief discussion of the patch on java-patches.
Tom