Re: Random number generation

1998-07-02 Thread William T Wilson
On Thu, 2 Jul 1998, David E. Fox wrote: One thing in particular I noticed early on - especially on DOS, is that the rand() function isn't good enough for certain applications, for Well, what do you expect, working libraries on DOS? :) The random number generator under Linux is reasonably

Re: Random number generation

1998-07-02 Thread Fred Smith
On Wed, Jul 01, 1998 at 12:40:21PM -0400, Joseph C. Tuttle wrote: Is there a simple way in Linux to generate a series of three hundred to four hundred unique random four digit numbers? I haven't done enough programming to write my own random number generator, but I do know Linux can generate

Re: Random number generation

1998-07-02 Thread David Taylor
Hi, I just jumped in on this thread because I'm curious about something. William Wilson wrote: random() is better than rand(), but only because you can set more options on the function call. rand() is probably there for compatibility. "man 3 rand" on my RH5.0 system produces:

Random number generation

1998-07-01 Thread Joseph C. Tuttle
Is there a simple way in Linux to generate a series of three hundred to four hundred unique random four digit numbers? I haven't done enough programming to write my own random number generator, but I do know Linux can generate them for its own uses. I have searched man and info pages, and the

Re: Random number generation

1998-07-01 Thread James Youngman
"jct" == Joseph C Tuttle [EMAIL PROTECTED] writes: jct Is there a simple way in Linux to generate a series of three jct hundred to four hundred unique random four digit numbers? I jct haven't done enough programming to write my own random number jct generator, but I do know Linux can