From b7b5772c349123efa0b80d1a01c1b3849bdee99d Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Mon, 24 Apr 2017 20:13:15 -0500 Subject: [PATCH] Add comment crediting the random number generation algorithm --- src/ox/std/random.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ox/std/random.cpp b/src/ox/std/random.cpp index 98a3dfe43..247cab5aa 100644 --- a/src/ox/std/random.cpp +++ b/src/ox/std/random.cpp @@ -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;