diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-11-27 17:42:41 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-11-27 17:42:41 +0000 |
commit | 223e2986ad7752d38ce24d1cbeff47db98df1ae3 (patch) | |
tree | b771b61ac7ae960909c7f670baf70726f8ffe01a /src/stable/randomcmwc.h | |
parent | 21df391dc6055884e621181cbc3b51d9ec2b095c (diff) | |
download | libbu++-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.h | 6 |
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 | ||
12 | namespace Bu | 12 | namespace 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: |