1
0

Change RNG to Xorshift64

This commit is contained in:
otya128
2017-07-04 15:39:11 +09:00
parent 800a6ffd11
commit 42fc64c136

View File

@@ -3,7 +3,9 @@ import std.random;
class Random
{
LinearCongruentialEngine!(uint, 16_807, 0, 2_147_483_647)[8] engine;
alias RandomType = Xorshift64;
//LinearCongruentialEngine!(uint, 16_807, 0, 2_147_483_647)[8] engine;
RandomType[8] engine;
public this()
{
foreach (e; engine)