From 4d9ff1954b8fed122122a75799a345ba3eb45a6e Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Sat, 20 Nov 2010 12:12:27 -0800 Subject: [PATCH] random: small comment about our random number generator and its origin --- src/base/random.hh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/base/random.hh b/src/base/random.hh index b74a7c4a2..b7e2a5073 100644 --- a/src/base/random.hh +++ b/src/base/random.hh @@ -29,6 +29,13 @@ * Ali Saidi */ +/* + * Mersenne Twister random number generator has a period of + * 2^19937-1. + * + * The actual math is in its own file to keep the license clear. + */ + #ifndef __BASE_RANDOM_HH__ #define __BASE_RANDOM_HH__ -- 2.30.2