Date: Tue, 28 Apr 1998 13:45:18 +0300 (IDT) From: Eli Zaretskii To: Elias Pschernig cc: djgpp AT delorie DOT com Subject: Re: Problem with Function rand() In-Reply-To: <6i2nmp$sk8$2@orudios.magnet.at> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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).