Post Reply 
What are good PRNG for calculators?
08-21-2014, 10:55 PM
Post: #10
RE: What are good PRNG for calculators?
(08-21-2014 09:56 PM)Paul Dale Wrote:  
(08-21-2014 09:23 PM)Namir Wrote:  How do you do bit shifting in the HP-25, HP-67, HP-41C?

Shift left: 2 *
Shift right: 2 / IP

The problem here is the exclusive or operations.
It would be quite slow, but you can do XOR a bit at a time with addition and modulus. If X and Y contain a single bit then
Code:
+ 2 MOD
leaves the XOR in X.

- John
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: What are good PRNG for calculators? - John R. Graham - 08-21-2014 10:55 PM



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