std::linear_congruential_engine<Result, 6364136223846793005ULL, 1442695040888963407ULL, 18446744073709551615ULL> syten::Random::engine {std::random_device()()} |
Engine used to generate seeds for genEngine() below.
If we use the same engine as the one returned by genEngine(), we will just get lots of copies with slight offsets in their sequence. So we use a simple LCG here and the Mersenne Twister for the actual generation. Values are taken from Wikipedia as the MMIX example by Donald Knuth, except that the modulus is 2^64-1 rather than 2^64.
Referenced by genEngine(), genValue(), and initReproducible().