projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34a8e37
)
random: small comment about our random number generator and its origin
author
Nathan Binkert
<nate@binkert.org>
Sat, 20 Nov 2010 20:12:27 +0000
(12:12 -0800)
committer
Nathan Binkert
<nate@binkert.org>
Sat, 20 Nov 2010 20:12:27 +0000
(12:12 -0800)
src/base/random.hh
patch
|
blob
|
history
diff --git
a/src/base/random.hh
b/src/base/random.hh
index b74a7c4a239542399eb065061df6a25d2e42fd83..b7e2a5073588dcf03ecb25e73e3de9ad67026ffa 100644
(file)
--- 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__