delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/21/02:07:58

From: "emry" <sandemos AT hotmail DOT com DOT spamblock>
Subject: Re: True random numbers.
References: <01bca8e4$2797c940$165e4ec2 AT xyy> <33F36DB3 DOT 4A6E AT cornell DOT edu>
Organization: none
Message-ID: <01bcadd0$756fdf40$28071dac@d-080>
Newsgroups: comp.os.msdos.djgpp
Date: Wed, 20 Aug 1997 18:22:44 -0700
Lines: 23
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019