@@ -33,7 +33,7 @@ class Cwg128( BaseCWG ):
3333 """
3434 Pseudo-random numbers generator - Collatz-Weyl pseudo-random Generators
3535 dedicated to 128-bits calculations and 128-bits output values with large
36- period (min 2^135 , i.e. 4.36e+40 ) but short computation time. All CWG
36+ period (min 2^128 , i.e. 6.81e+38 ) but short computation time. All CWG
3737 algorithms offer multi streams features, by simply using different initial
3838 settings for control value 's' - see below.
3939
@@ -56,11 +56,11 @@ class Cwg128( BaseCWG ):
5656 It appears that these value are used just are 's' for c[0], 'x' for c[1],
5757 'a' for c[2] and 'weyl' for c[3] in the other versions of the algorithm.
5858
59- See Cwg64 for a minimum 2^70 (i.e. about 1.18e+21 ) period CW-Generator
59+ See Cwg64 for a minimum 2^64 (i.e. about 1.84e+19 ) period CW-Generator
6060 with very low computation time, medium period, 64- bits output values and
6161 very good randomness characteristics.
6262
63- See Cwg128_64 for a minimum 2^71 (i.e. about 2.36e+21 ) period CW-Generator
63+ See Cwg128_64 for a minimum 2^64 (i.e. about 1.84e+19 ) period CW-Generator
6464 with very low computation time, medium period, 64-bits output values and
6565 very good randomness characteristics.
6666
@@ -76,9 +76,9 @@ class Cwg128( BaseCWG ):
7676
7777 | PyRandLib class | [8] generator name | Memory Usage | Period | time-32bits | time-64 bits | SmallCrush fails | Crush fails | BigCrush fails |
7878 | --------------- | ------------------ | ------------- | -------- | ----------- | ------------ | ---------------- | ----------- | -------------- |
79- | Cwg64 | CWG64 | 8 x 4-bytes | >= 2^70 | n.a. | n.a. | 0 | 0 | 0 |
80- | Cwg128_64 | CWG128_64 | 10 x 4-bytes | >= 2^71 | n.a. | n.a. | 0 | 0 | 0 |
81- | Cwg128 | CWG128 | 16 x 4-bytes | >= 2^135 | n.a. | n.a. | 0 | 0 | 0 |
79+ | Cwg64 | CWG64 | 8 x 4-bytes | >= 2^64 | n.a. | n.a. | 0 | 0 | 0 |
80+ | Cwg128_64 | CWG128_64 | 10 x 4-bytes | >= 2^64 | n.a. | n.a. | 0 | 0 | 0 |
81+ | Cwg128 | CWG128 | 16 x 4-bytes | >= 2^128 | n.a. | n.a. | 0 | 0 | 0 |
8282
8383 * _small crush_ is a small set of simple tests that quickly tests some of
8484 the expected characteristics for a pretty good PRNG;
0 commit comments