You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-21Lines changed: 9 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,7 +116,7 @@ Notice: a comparison of the computation times for all implemented PRNGs in **Cpp
116
116
<td>Cwg64</td>
117
117
<td>*CWG64*</td>
118
118
<td>8 x 4-bytes</td>
119
-
<td>>= 2^70</td>
119
+
<td>>= 2^64</td>
120
120
<td>0</td>
121
121
<td>0</td>
122
122
<td>0</td>
@@ -127,7 +127,7 @@ Notice: a comparison of the computation times for all implemented PRNGs in **Cpp
127
127
<td>Cwg128_64</td>
128
128
<td>*CWG128-64*</td>
129
129
<td>10 x 4-bytes</td>
130
-
<td>>= 2^71</td>
130
+
<td>>= 2^64</td>
131
131
<td>0</td>
132
132
<td>0</td>
133
133
<td>0</td>
@@ -138,7 +138,7 @@ Notice: a comparison of the computation times for all implemented PRNGs in **Cpp
138
138
<td>Cwg128</td>
139
139
<td>*CWG128*</td>
140
140
<td>16 x 4-bytes</td>
141
-
<td>>= 2^135</td>
141
+
<td>>= 2^128</td>
142
142
<td>0</td>
143
143
<td>0</td>
144
144
<td>0</td>
@@ -835,9 +835,9 @@ Since version **2.0** of **CppRandLib** also, the newly implemented method `getr
835
835
836
836
837
837
---
838
-
### Cwg64 -- minimum 2^70 period
838
+
### Cwg64 -- minimum 2^64 period
839
839
840
-
**Cwg64** implements the full 64 bits version of the Collatz-Weyl Generator algorithm: computations are done on 64-bits, the output generated value is coded on 64-bits also. It provides a medium period which is at minimum 2^70 (i.e. about 1.18e+21), short computation time and a four 64-bits integers internal state (x, a, weyl, s).
840
+
**Cwg64** implements the full 64 bits version of the Collatz-Weyl Generator algorithm: computations are done on 64-bits, the output generated value is coded on 64-bits also. It provides a medium period which is at minimum 2^64 (i.e. about 1.84e+19), short computation time and a four 64-bits integers internal state (x, a, weyl, s).
841
841
842
842
This version of the CGW algorithm evaluates pseudo-random suites *output(i)* as the combination of the next instructions applied to *state(i-1)*:
843
843
@@ -848,21 +848,9 @@ This version of the CGW algorithm evaluates pseudo-random suites *output(i)* as
848
848
849
849
850
850
851
-
### Cwg64 -- minimum 2^70 period
851
+
### Cwg128_64 -- minimum 2^64 period
852
852
853
-
**Cwg64** implements the full 64 bits version of the Collatz-Weyl Generator algorithm: computations are done on 64-bits. The output generated value is coded on 64-bits also. It provides a medium period which is at minimum 2^70 (i.e. about 1.18e+21), short computation time and a four 64-bits integers internal state (x, a, weyl, s).
854
-
855
-
This version of the CGW algorithm evaluates pseudo-random suites *output(i)* as the combination of the next instructions applied to *state(i-1)*:
856
-
857
-
a(i) = a(i-1) + x(i-1)
858
-
weyl(i) = weyl(i-1) + s // s is constant over time and must be odd, this is the value to modify to get multi-streams
**Cwg128_64** implements the mixed 128/64 bits version of the Collatz-Weyl Generator algorithm: computations are done on 128- and 64- bits. The output generated value is coded on 64-bits also. It provides a medium period which is at minimum 2^71 (i.e. about 2.36e+21), short computation time and a three 64-bits (a, weyl, s) plus one 128-bits integer internal state (x).
853
+
**Cwg128_64** implements the mixed 128/64 bits version of the Collatz-Weyl Generator algorithm: computations are done on 128- and 64- bits. The output generated value is coded on 64-bits also. It provides a medium period which is at minimum 2^64 (i.e. about 1.84e+19), short computation time and a three 64-bits (a, weyl, s) plus one 128-bits integer internal state (x).
866
854
867
855
This version of the CGW algorithm evaluates pseudo-random suites *output(i)* as the combination of the next instructions applied to *state(i-1)*:
868
856
@@ -873,9 +861,9 @@ This version of the CGW algorithm evaluates pseudo-random suites *output(i)* as
873
861
874
862
875
863
876
-
### Cwg128 -- minimum 2^135 period
864
+
### Cwg128 -- minimum 2^128 period
877
865
878
-
**Cwg128** implements the full 128 bits version of the Collatz-Weyl Generator algorithm: computations are done on 128-bits. The output generated value is coded on 128-bits also. It provides a medium period which is at minimum 2^135 (i.e. about 4.36e+40), short computation time and a four 128-bits integers internal state (x, a, weyl, s).
866
+
**Cwg128** implements the full 128 bits version of the Collatz-Weyl Generator algorithm: computations are done on 128-bits. The output generated value is coded on 128-bits also. It provides a medium period which is at minimum 2^128 (i.e. about 6.81e+38), short computation time and a four 128-bits integers internal state (x, a, weyl, s).
879
867
880
868
This version of the CGW algorithm evaluates pseudo-random suites *output(i)* as the combination of the next instructions applied to *state(i-1)*:
0 commit comments