Stockfish random generator (rkiss.h)
Moderators: hgm, Rebel, chrisw
-
- Posts: 2559
- Joined: Fri Nov 26, 2010 2:00 pm
- Location: Czech Republic
- Full name: Martin Sedlak
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.
-
- Posts: 2250
- Joined: Wed Mar 08, 2006 8: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
-
- Posts: 2559
- Joined: Fri Nov 26, 2010 2:00 pm
- Location: Czech Republic
- Full name: Martin Sedlak
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