Stockfish random generator (rkiss.h)
Moderators: hgm, Harvey Williamson, bob
Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Stockfish random generator (rkiss.h)
I'd like to ask what's the license for the random number generator routine used in latest stockfish (rkiss.h). I'd like to use it in my program (not necessarily for chess) for it seems to be very fast and very good (MT way too slow and complicated). Thanks.
-
Gerd Isenberg
- Posts: 2105
- Joined: Wed Mar 08, 2006 7:47 pm
- Location: Hattingen, Germany
Re: Stockfish random generator (rkiss.h)
A small noncryptographic pseudorandom number generator by Bob Jenkins is in the public domain. The 64-bit variant applies the same algorithm as the rkiss one by Heinz van Saaren used in Stockfish, giving credit to George Marsiglia as inventor of these kind of kiss prngs.mar wrote:I'd like to ask what's the license for the random number generator routine used in latest stockfish (rkiss.h). I'd like to use it in my program (not necessarily for chess) for it seems to be very fast and very good (MT way too slow and complicated). Thanks.
http://www.talkchess.com/forum/viewtopic.php?t=38313
Re: Stockfish random generator (rkiss.h)
I see. Thank you.Gerd Isenberg wrote:A small noncryptographic pseudorandom number generator by Bob Jenkins is in the public domain. The 64-bit variant applies the same algorithm as the rkiss one by Heinz van Saaren used in Stockfish, giving credit to George Marsiglia as inventor of these kind of kiss prngs.mar wrote:I'd like to ask what's the license for the random number generator routine used in latest stockfish (rkiss.h). I'd like to use it in my program (not necessarily for chess) for it seems to be very fast and very good (MT way too slow and complicated). Thanks.
http://www.talkchess.com/forum/viewtopic.php?t=38313