🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #1620

TPW function RANDOM

#1620
From: Hunting the Snark
Date: Thu, 15 Oct 1992 06:11
13 lines
1015 bytes
I am interested in the details of TPW's RANDOM number generator. How random is
it really, what is it's periodicity, what algorithm does it use, and any thing
else you'd like to share? Is it the same algorithm as in TurboC++?

My specific interest is this: my application creates 18 random integers in the
range of 0..11 (inclusive). Using RANDOM, are all possible combinations of an
18 number sequence equally probable? I'd like to be able to quantify how far
it is from that ideal.

Thanks,

Steve Marshall
Technical Details
Message-ID: <1992Oct15.052237.8008@engage.pko.dec.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!darwin.sura.net!haven.umd.edu!decuac!pa.dec.com!engage.pko.dec.com!tfh.enet.dec.com!marshall

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!darwin.sura.net!haven.umd.edu!decuac!pa.dec.com!engage.pko.dec.com!tfh.enet.dec.com!marshall
From: marshall@tfh.enet.dec.com (Hunting the Snark)
Subject: TPW function RANDOM
Message-ID: <1992Oct15.052237.8008@engage.pko.dec.com>
Sender: newsdaemon@engage.pko.dec.com (USENET News Daemon)
Organization: Digital Equipment Corporation
Date: Thu, 15 Oct 1992 06:11:57 GMT
Lines: 13