Mail Archives: djgpp/1997/06/04/14:03:49
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 <mert0407 AT sable DOT ox DOT ac DOT uk>
Merton College, Oxford
- Raw text -