Hello,
More explanation about my Good random number generators version 1.0,
there source code inside the zip file are mersenne.pas and
splitmix64.pas, and they are powerful, please look at them, and you can
port them to C++.
Author: Amine Moulay Ramdane that has enhanced
both random number generators.
Description:
This is an enhanced versions of both Mersenne Twister that is a
good random number generator and Splitmix64 that is a fast random number
generator, both have passed the BigCrush tests.
Look into defines.inc file, there is many options:
{$DEFINE CPU32} and {$DEFINE Windows32} for 32 bit systems
{$DEFINE CPU64} and {$DEFINE Windows64} for 64 bit systems
Look at test.pas demo inside the zip file...
You can download it from:
https://sites.google.com/site/scalable68/good-random-number-generators
Language: FPC Pascal v2.2.0+ / Delphi 5+:
http://www.freepascal.org/
Operating Systems: Win , Linux and Mac (x86).
Required FPC switches: -O3 -Sd
-Sd for delphi mode....
Required Delphi switches: -$O+
Thank you,
Amine Moulay Ramdane.