Post Reply 
HP41C random number generator help
12-05-2017, 05:21 PM (This post was last modified: 12-05-2017 06:07 PM by Thomas Okken.)
Post: #14
RE: HP41C random number generator help
(12-05-2017 03:53 PM)Trond Wrote:  Just out of curiosity, does anyone know which one is used in the RAN function of HP 42S ?

The RPL random number generator is described in full detail in this thread: https://groups.google.com/d/msg/comp.sys...JTaWW0OeUJ

The only difference between it and the HP-42S RAN function is the initial seed after hard reset: in the RPL version, it is 999500333083533, while in the 42S version, it is 2787.

N.B. Free42 >= 2.0.7 uses this RNG, so if you're looking for working code, you can find it there.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP41C random number generator help - Trond - 12-05-2017, 05:45 AM
RE: HP41C random number generator help - Thomas Okken - 12-05-2017 05:21 PM



User(s) browsing this thread: 2 Guest(s)