TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Paul Murray
from: Frank Malcolm
date: 1993-05-20 09:48:00
subject: Re: Random Numerals

Hi, Paul.

PM> PE> RS>      Ok , i admit - you can't have perfect random numbers

PM> FM> For truly random numbers, try using radioactive decay.

PM>On the topic of random numbers, I seem to remenber that there is no way to
PM>tell if a finite series of numbers is *really* random or not - although you
PM>can calculate a probability that it is truly random. Chi sqared or something

True, and I can't remember the stats test to use either! OTOH, for
*most* applications it doesn't matter - the pseudo-random numbers
produced by a decent generator in most languages/libraries is quite
satisfactory, with the additional advantage that for debugging (and
in encryption applications) it's repeatable!

PM>Basically, unless you are using an infinite numer of random numbers,
PM>srand((int)time(NULL)) will give you random numbers more-or-less
PM>indistinguishable both theoretically and for all practical purposes from
PM>a sequence of truly random (probabilistic) nubers.

Oh, I just said that :-)

PM>PS - instead of radioactive decay, perhaps you could rig up a noisy
PM>transistor.

Yep.

PM>PPS - yes I know that you didn't make the original posting, I hope you don't
PM>mind this being adressed to you.

No worries. I think it was Paul Edwards, I'm sure he'll see this.

Regards, FIM.

 * SLMR 2.1a * I've got 256K of RAM, so why can't I run Windows 3.0?

--- Maximus 2.01wb

* Origin: Sydney PC Users Group - COMPAQ BBS (3:712/505)
SEEN-BY: 3/1 2 4 5 6 54/54 99 711/401 430 807 808 809 932 934 712/218 407 414
SEEN-BY: 712/505 506 515 517 537 618 623 627 704 719 713/306 888 714/906
@PATH: 712/505 623 54/99 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.