tigerw / RandomNumberGeneration

Testing random number generation in C++.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Testing random number generation in C++

See the blog post accompanying this code. Tests the performance of several PRNGs, including

  • Xoshiro256+
  • Xoroshiro128+
  • Linear congruential generator (LCG)
  • Permuted congruential generator (PCG)
  • SplitMix64
  • Mersenne Twister (MT)
  • C++ base minstd
  • C++ base rand()
  • C++ base mt

Installation and usage

Use the included cmake file to compile.

>> cmake .
>> make
>> ./rng_testing

Contact

Email: thompsonsed@gmail.com

License: MIT

About

Testing random number generation in C++.

License:Other


Languages

Language:C++ 91.7%Language:R 6.5%Language:CMake 1.9%