www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/23/17:32:30

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: real random numbers
Date: Mon, 23 Mar 1998 08:28:19 -0800
Organization: Alcyone Systems
Lines: 21
Message-ID: <35168DA3.352AE91E@alcyone.com>
References: <351634A2 DOT 5ACD AT hol DOT fr>
NNTP-Posting-Host: charmaine.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Guillaume BETOUS wrote:

> If anyone could tell me how to get REAL random generated numbers under
> djgpp ... and/or explain me how it works ! I wonder for a long time
> how
> a computer can generate random numbers

It doesn't.  There's no such thing as an algorithmically generated
randon number, because it was always generated by an algorithm.

Pseudorandom number sequences strive to be rather random, but ultimately
they are generated by an algorithm and thus are 100% predictable.  The
goal is to find a sequence that's very hard to predict.

-- 
         Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com
                       Alcyone Systems / http://www.alcyone.com/max/
  San Jose, California, United States / icbm:+37.20.07/-121.53.38
                                     \
        "I've got the fever for the / flavor of a cracker"
                                   / Ice Cube

- Raw text -


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