Date: Wed, 4 Jun 1997 18:59:17 +0100 (BST) From: George Foot To: Eli Zaretskii cc: djgpp AT delorie DOT com Subject: Re: Random numbers/George In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Wed, 4 Jun 1997, Eli Zaretskii wrote: > On 3 Jun 1997, George Foot wrote: > > > Apparently, random() is a `more' random > > generator than rand(); presumably the reason the portable rand() function > > uses a worse generator is that the algorithm is specified in the standard, > > although I really don't know (does anyone?). > > I think at least part of the reason for what `rand' does is that good > random generators are notoriously hard to invent, and those which > exist aren't always free. DJGPP's libc needs to be totally free. But isn't random() in libc too? Surely that algorithm must be free as well... -- George Foot Merton College, Oxford