50g: an interesting RAND anomaly

03172018, 06:13 PM
Post: #3




RE: 50g: an interesting RAND anomaly
(03172018 05:43 PM)JF Garnier Wrote: The same happens using the HP71B ancestor. Thanks for that confirmation! I suspect all of the HP calculators that use the same RAND algorithm will show these results. Admittedly, MOD 2/4/8 is simply using the last 13 bits of the seed, but I would have still thought the period would have been bigger. I'm wondering if performing a rightshift on the seed of 12 nibbles prior to the MOD would give better results. The range of input values for my application would leave plenty of overhead for that. But I have no idea if that would simply change the parameters with no real benefit. Does anyone know if there's a documented issue with simply using a few of the least significant bits of the RAND seed? Or have I simply stumbled upon a special case that resonates with the RAND seed generator? 

« Next Oldest  Next Newest »

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