Post Reply 
MCODE: random numbers
04-20-2019, 10:40 PM
Post: #3
RE: MCODE: random numbers
(04-20-2019 10:12 PM)John Keith Wrote:  XORSHIFT+ should meet your needs. It may need some testing to make sure there are no unwanted side-effects of the 41's 56-bit word size.

Thanks John. I had looked at that, and wasn't sure I wanted to figure out the proper shift values (23/17/26) for a 56 bit word. I was actually thinking of just the simple XORSHIFT32 (inside a 56 bit word).

Any thoughts on the how to algorithmically implement the "modulo(n)" portion without a div instruction?
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
MCODE: random numbers - RobertM - 04-20-2019, 09:43 PM
RE: MCODE: random numbers - John Keith - 04-20-2019, 10:12 PM
RE: MCODE: random numbers - RobertM - 04-20-2019 10:40 PM
RE: MCODE: random numbers - Albert Chan - 04-21-2019, 01:35 AM
RE: MCODE: random numbers - RobertM - 04-21-2019, 02:03 AM
RE: MCODE: random numbers - Mark Power - 05-03-2019, 09:21 PM



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