Mail Archives: djgpp/1998/04/28/06:45:41
On Mon, 27 Apr 1998, Elias Pschernig wrote:
> so does the article say it's not good to use
> GNU's rand() function in programs any longer,
> or can i go on using it ?
AFAIK, there's nothing wrong with DJGPP's `rand', it should indeed
measure well in any reasonable test for randomness. There are some
well-known deficiencies of the type of random number generator used in
it, but AFAIK they only show when you need to generate a random point
in N-space where N is large (more than 3, say).
`random' is an alternative function, which is somewhat better, but is
less portable (`rand' is ANSI).
- Raw text -