Stockfish random generator (rkiss.h)

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

mar
Posts: 2559
Joined: Fri Nov 26, 2010 2:00 pm
Location: Czech Republic
Full name: Martin Sedlak

Stockfish random generator (rkiss.h)

Post by mar »

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: 2250
Joined: Wed Mar 08, 2006 8:47 pm
Location: Hattingen, Germany

Re: Stockfish random generator (rkiss.h)

Post by Gerd Isenberg »

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.
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.

http://www.talkchess.com/forum/viewtopic.php?t=38313
mar
Posts: 2559
Joined: Fri Nov 26, 2010 2:00 pm
Location: Czech Republic
Full name: Martin Sedlak

Re: Stockfish random generator (rkiss.h)

Post by mar »

Gerd Isenberg wrote:
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.
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.

http://www.talkchess.com/forum/viewtopic.php?t=38313
I see. Thank you.