On Mon, Feb 17, 2003 at 04:40:48PM +1100, Tim Robbins wrote:
> I disagree. It's safe to use rand() in games and in certain kinds of
> simulations when you don't care that the distribution isn't quite
> uniform,

Safe, maybe.  But I think it still shouldn't be used.
See my posting of two years ago:

<URL: 
http://groups.google.com/groups?&selm=97b83t%2414q3%241%40FreeBSD.csie.NCTU.edu.tw&rnum=1
 >

BTW, I don't care if linking a program with rand() gives an obnoxious
warning or not.  Just pointing out that rand() is less useful than it
might seem.

Cheers,
-- 
Jacques A. Vidrine <[EMAIL PROTECTED]>          http://www.celabo.org/
NTT/Verio SME          .     FreeBSD UNIX     .       Heimdal Kerberos
[EMAIL PROTECTED]     .  [EMAIL PROTECTED]  .          [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to