🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.dec
Article #1666

Re: Random numbers on PDP-11

#1666
From: kurt kohler
Date: Wed, 04 Jul 1990 20:55
23 lines
1488 bytes
In article <1739@mountn.dec.com> minow@bolt.enet.dec.com (Martin Minow) writes:
>In article <19191@orstcs.CS.ORST.EDU> kohler@jacobs.CS.ORST.EDU
>(kurt kohler) writes:
>>  We have the need to generate some small (< 100) integers on the
>>PDP-11.  It doesn't need to be of terribly high quality.
>
>	 *	The algorithm is based on the mth$random function in the
>	 *	VMS common run-time library.
>
>Martin Minow
>minow@bolt.enet.dec.com

Thanks for the reply, but I guess I should have been more explicit. What
I wanted was a function that could be evaluated with the 16 bit arithmetic
on the PDP-11. Actually since all that is required is a 32 bit multiply
I could use it I suppose, it would just be more straight forward to
have 16 bit constants and a 16 bit result.
     Kurt Kohler

     Kurt Kohler                           "I'm a pussycat, not an electrician!"
     Internet: kohler@jacobs.cs.orst.edu   -- Not Dr. McCoy
     Asset Control Systems, Inc.
     Corvallis, OR
Technical Details
Message-ID: <19207@orstcs.CS.ORST.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!rutgers!orstcs!jacobs.CS.ORST.EDU!kohler
References: <19191@orstcs.CS.ORST.EDU> <1739@mountn.dec.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!rutgers!orstcs!jacobs.CS.ORST.EDU!kohler
From: kohler@jacobs.CS.ORST.EDU (kurt kohler)
Newsgroups: comp.sys.dec
Subject: Re: Random numbers on PDP-11
Keywords: PDP-11 random numbers
Message-ID: <19207@orstcs.CS.ORST.EDU>
Date: 4 Jul 90 20:55:15 GMT
References: <19191@orstcs.CS.ORST.EDU> <1739@mountn.dec.com>
Sender: usenet@orstcs.CS.ORST.EDU
Distribution: na
Organization: Oregon State University - CS - Corvallis
Lines: 23