aboutsummaryrefslogtreecommitdiff
path: root/src/stable/randomcmwc.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-11-27 17:42:41 +0000
committerMike Buland <eichlan@xagasoft.com>2012-11-27 17:42:41 +0000
commit223e2986ad7752d38ce24d1cbeff47db98df1ae3 (patch)
treeb771b61ac7ae960909c7f670baf70726f8ffe01a /src/stable/randomcmwc.h
parent21df391dc6055884e621181cbc3b51d9ec2b095c (diff)
downloadlibbu++-223e2986ad7752d38ce24d1cbeff47db98df1ae3.tar.gz
libbu++-223e2986ad7752d38ce24d1cbeff47db98df1ae3.tar.bz2
libbu++-223e2986ad7752d38ce24d1cbeff47db98df1ae3.tar.xz
libbu++-223e2986ad7752d38ce24d1cbeff47db98df1ae3.zip
Added a few comments and fixed a string unit test, it assumed hex would be
upper case by default and now it's lower case.
Diffstat (limited to 'src/stable/randomcmwc.h')
-rw-r--r--src/stable/randomcmwc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/stable/randomcmwc.h b/src/stable/randomcmwc.h
index 50eb8c4..2e0b0e8 100644
--- a/src/stable/randomcmwc.h
+++ b/src/stable/randomcmwc.h
@@ -11,6 +11,12 @@
11 11
12namespace Bu 12namespace Bu
13{ 13{
14 /**
15 * Complimentary Multiply With Carry random number generator. This is a
16 * simpler and faster generator than Mersenne Twister, but uses about as
17 * much memory. Many people think that it may be at least as good as
18 * Mersenne Twister, or better.
19 */
14 class RandomCmwc : public RandomBase 20 class RandomCmwc : public RandomBase
15 { 21 {
16 public: 22 public: