AriCalculator is a home made pocket calculator.
|
03-15-2018, 03:51 AM
Post: #52
|
|||
|
|||
RE: AriCalculator is a home made pocket calculator.
I decided to implement the 64-bit xorshift generator described on page 4 of George Marsaglia's "Xorshift RNG's". It involves shifting the seed 13 bits to the left, followed by 7 bits to the right and then 17 bits to the left, with a bit-wise exclusive OR performed after each shift. Any non-zero value can be used as the seed, and according to the author it passes all tests of randomness, except the binary rank test.
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)