🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #2423

Re: Random number generation

#2423
From: Eric Hughes
Date: Fri, 28 Sep 1990 18:47
17 lines
1283 bytes
In article <20092@orstcs.CS.ORST.EDU> densond@prism.CS.ORST.EDU (Dave
Denson) writes:
>I need a way to generate suitably random numbers in an assembly language 
>program.  Is there a routine somewhere out there that exist to accomplish
>this.  I could create your standard MOD-type generator, but I was hoping
>for a more elegant solution.

Assuming "suitable" in for case does not mean "random," but just
"evenly distributed," check the January 1990 issue of Communications
of the ACM for the article "Two Fast Implementations of the 'Minimal
Standard' Random Number Generator."  This is a mod-type generator.

And if it suffices, then, by virtue of its simplicity, it _is_ an
elegant solution.

Eric Hughes
hughes@ocf.berkeley.edu
Technical Details
Message-ID: <HUGHES.90Sep28114709@volcano.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!uwm.edu!bionet!agate!agate!hughes
References: <20092@orstcs.CS.ORST.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!uwm.edu!bionet!agate!agate!hughes
From: hughes@volcano.Berkeley.EDU (Eric Hughes)
Newsgroups: comp.os.msdos.programmer,comp.sys.ibm.pc.misc
Subject: Re: Random number generation
Message-ID: <HUGHES.90Sep28114709@volcano.Berkeley.EDU>
Date: 28 Sep 90 18:47:09 GMT
References: <20092@orstcs.CS.ORST.EDU>
Sender: usenet@agate.berkeley.edu (USENET Administrator)
Organization: ucb
Lines: 17
In-Reply-To: densond@prism.CS.ORST.EDU's message of 1 Sep 90 03:49:14 GMT