Bob Jenkins' small noncryptographic PRNG approach is suited for Zobrist Hashing. Heinz van Saanen's RKISS as used in Stockfish since version 2.0 [8][9] uses almost the same code despite embedded it into a C++ class and initialization [10]. Van Saanen admitted he took an obviously free and quite raw C-snippet from a random-related newsgroup long time ago. When turned this to a functional C++-class years later he could not find the initial source any longer, and gave credit to George Marsaglia as inventor of the RNG-Kiss-family [11][12][13][14]. This is Bob's 64 bit code [15]:
If you want to use 8-byte terms instead of 4-byte terms, the proper rotate amounts are (39,11) for the two-rotate version (yielding at least 13.3 bits of avalanche after 5 rounds) or (7,13,37) for the three-rotate version (yielding 18.4 bits of avalanche after 5 rounds). I think I'd got with the three-rotate version, because the ideal is 32 bits of avalanche, and 13.3 isn't even half of that.
an American software developer, M.Sc. in computer science from Carnegie Mellon University, Microsoft and former Oracle employee. At Microsoft, he worked in the Cosmos team [1] , and under Andrew Kadatch on the Cosmos storage distributed file system [2] , written by Andrew in C++, and on the Scope query language [3] . He was Oracle's resident expert on hash functions [4] , and he designed and published various pseudorandom number generators and hash functions for hash table lookup [5] , competing with Paul Hsieh [6] .
Table of Contents
RKISS
Bob Jenkins' small noncryptographic PRNG approach is suited for Zobrist Hashing. Heinz van Saanen's RKISS as used in Stockfish since version 2.0 [8] [9] uses almost the same code despite embedded it into a C++ class and initialization [10]. Van Saanen admitted he took an obviously free and quite raw C-snippet from a random-related newsgroup long time ago. When turned this to a functional C++-class years later he could not find the initial source any longer, and gave credit to George Marsaglia as inventor of the RNG-Kiss-family [11] [12] [13] [14]. This is Bob's 64 bit code [15]:Selected Publications
External Links
References
What links here?
Up one level