Add comment crediting the random number generation algorithm

This commit is contained in:
2017-04-24 20:13:15 -05:00
parent 41c017e305
commit b7b5772c34
+1
View File
@@ -19,6 +19,7 @@ Random::Random(RandomSeed seed) {
}
uint64_t Random::gen() {
// An implementation of the Xoroshiro128+ algorithm
auto s0 = m_seed[0];
auto s1 = m_seed[1];
auto retval = s0 + s1;