Pseudo-random reproducible number generator?

Blitz3D Forums/Blitz3D Programming/Pseudo-random reproducible number generator?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Blitz's PRNG is broken for this purpose (known issue, current behavior will not be changed) and for encryption as it depends on the FPU, and float results will vary noticeably across processors. I recommend Kanati's excellent Mersenne Twister userlib for this purpose, which can be found here:

http://www.blitzcoder.com/cgi-bin/showcase/showcase_showentry.pl?id=kanati886903202005194825&comments=no