Mail Archives: djgpp/1997/08/21/02:07:58
There is no actual way for anything involving a computer to be truly
random. The closest you can get is randomising according to a fairly random
number. this is not true randomness, but it is about as close as you will
get, short of having the user input the number themselves, wich in most
cases would go against the neccesaty of a random number, not to mention the
point that this won't even always be random.
A. Sinan Unur <asu1 AT cornell DOT edu> wrote in article
<33F36DB3 DOT 4A6E AT cornell DOT edu>...
> Zampelli Stéphane wrote:
>
> > Can anyone show me a example with srandom, rand, and random
> > functions in order to use *true* random numbers ?
>
> all computer generated random numbers are pseudo-random so the question
> is meaningless. you can search the mail archives at
> http://www.delorie.com/djgpp/mail-archives/ for a recent discussion.
>
> -- Sinan
>
- Raw text -