Good news for PPC RandomNumber Generator

05192021, 10:04 PM
Post: #21




RE: Good news for PPC RandomNumber Generator
(05192021 06:31 PM)Valentin Albillo Wrote:(05192021 05:41 PM)rprosperi Wrote: On these extended test runs to verify generated numbers are not repeated, where are all the generated numbers stored, while verifying subsequent numbers don't match, or are you trusting some algorithm's verification With the HP42S (and RPL, Free42, 71B) RNG, just looking for a repeated number is not sufficient, since they use a 15digit seed internally, and then truncate it to 12 digits before returning it to the user code environment. The least significant of those 15 digits is always a 1, 3, 7, or 9, so the theoretical maximum cycle is 4e14 long, but I don't know if the actual cycles exhibited by that RNG are that long or whether there are multiple disjoint cycles. All I know about that RNG comes from this thread: https://groups.google.com/g/comp.sys.hp4...tzMtZhlGoJ 

« Next Oldest  Next Newest »

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