random 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +32 -0
- data/README +83 -0
- data/Rakefile +247 -0
- data/TODO +4 -0
- data/VERSION +1 -0
- data/doc/simple_example.rb +17 -0
- data/ext/random/extconf.rb +9 -0
- data/ext/random/mersenne_twister_ext.c +465 -0
- data/lib/math/statistics/chi_square.rb +76 -0
- data/lib/math/statistics/table_chi_square_probabilities.html +472 -0
- data/lib/random.rb +7 -0
- data/lib/random/array_random_element.rb +6 -0
- data/lib/random/random_number_generator.rb +196 -0
- data/lib/random/testing.rb +35 -0
- data/test/acceptance/wagner_distribution_1_0/testWagner.out +625 -0
- data/test/acceptance/wagner_distribution_1_0/test_compare_to_wagners_test_output.rb +91 -0
- data/test/performance/test_mersenne_twister.rb +20 -0
- data/test/unit/#mt19937ar.c# +190 -0
- data/test/unit/expected_mersenne_4357.txt +200 -0
- data/test/unit/test_chi_square.rb +25 -0
- data/test/unit/test_mersenne_twister.rb +131 -0
- data/test/unit/test_random_number_generator.rb +168 -0
- data/test/unit/test_random_testing.rb +22 -0
- data/test/unit/test_rng.rb +9 -0
- metadata +71 -0
data/lib/random.rb
ADDED
@@ -0,0 +1,196 @@
|
|
1
|
+
module Random
|
2
|
+
# Abstract Base class for Random Number Generators. The default values
|
3
|
+
# for the methods is to work as for a generator giving 32 random bits
|
4
|
+
# for each call to next, but there is no requirement that sub-classes
|
5
|
+
# must obey this.
|
6
|
+
class RandomNumberGenerator
|
7
|
+
# Initialize a random number generator given a _seed_. The _seed_ is
|
8
|
+
# either an integer or an array of integers.
|
9
|
+
def initialize(seed); end
|
10
|
+
|
11
|
+
# Returns the minimum value that can be returned by a call to next.
|
12
|
+
# Default is 0.
|
13
|
+
def min; 0; end
|
14
|
+
|
15
|
+
MAX_32BIT_UNSIGNED = (2**32)-1
|
16
|
+
|
17
|
+
# Returns the maximum value that can be returned by a call to next.
|
18
|
+
# Default is MAX_32BIT_UNSIGNED.
|
19
|
+
def max; MAX_32BIT_UNSIGNED; end
|
20
|
+
|
21
|
+
# Max number of random bits returned in a call to _next_.
|
22
|
+
def num_random_bits
|
23
|
+
@num_random_bits ||= (Math.log(1 + max - min)/Math.log(2)).floor
|
24
|
+
end
|
25
|
+
|
26
|
+
# Max number of random bytes returned in a call to _next_.
|
27
|
+
def num_random_bytes
|
28
|
+
@num_random_bytes ||= (num_random_bits / 8)
|
29
|
+
end
|
30
|
+
|
31
|
+
##########################################################################
|
32
|
+
# Basic generation methods
|
33
|
+
##########################################################################
|
34
|
+
|
35
|
+
# Generate the next random number in this PRNG stream. All numbers
|
36
|
+
# in (_min_.._max_) are equally likely.
|
37
|
+
def next; raise NotImplementedError; end
|
38
|
+
|
39
|
+
# Generate a 32 bit integer in (0..(2**32 - 1)). This implementation
|
40
|
+
# assumes the next method generates exactly this; BEWARE that for
|
41
|
+
# generators where this is not true you should override this method.
|
42
|
+
def gen_uint32; self.next; end
|
43
|
+
|
44
|
+
##########################################################################
|
45
|
+
# Derived generation methods - rand_X methods that use the basic gen_X
|
46
|
+
# methods in generating more complex data (or using a more complex
|
47
|
+
# interface)
|
48
|
+
##########################################################################
|
49
|
+
|
50
|
+
# Generate an integer in (0..n) inclusive, ie including both 0 and n.
|
51
|
+
# Much faster than rand_int_big_limited.
|
52
|
+
# pre {|n| n >= 0 && n < 2**32}
|
53
|
+
# post {|res| res >= 0 && res <= n}
|
54
|
+
def rand_int_small_limited(n)
|
55
|
+
used_bits = mask_for_int(n)
|
56
|
+
r = gen_uint32() & used_bits
|
57
|
+
while (r > n)
|
58
|
+
r = gen_uint32() & used_bits
|
59
|
+
end
|
60
|
+
r
|
61
|
+
end
|
62
|
+
|
63
|
+
# Generate an integer in (0..n) inclusive, ie including both 0 and n.
|
64
|
+
# Same as rand_int_limited but less efficient if n < 2**32.
|
65
|
+
# pre {|n| n >= 0}
|
66
|
+
# post {|res| res >= 0 && res <= n}
|
67
|
+
def rand_int_big_limited(n)
|
68
|
+
num_bits = num_bits_to_represent(n)
|
69
|
+
r = rand_int_with_bits(num_bits)
|
70
|
+
while r > n
|
71
|
+
r = rand_int_with_bits(num_bits)
|
72
|
+
end
|
73
|
+
r
|
74
|
+
end
|
75
|
+
|
76
|
+
# Generate an integer with the given number of bits set randomly.
|
77
|
+
# post {|res| res < 2**numBits}
|
78
|
+
def rand_int_with_bits(numBits)
|
79
|
+
num_bits_left = numBits
|
80
|
+
r = 0
|
81
|
+
while num_bits_left > 0
|
82
|
+
new_bits = self.next
|
83
|
+
bits_to_use = [num_bits_left, num_random_bits].min
|
84
|
+
r = add_bits(r, bits_to_use, new_bits)
|
85
|
+
num_bits_left -= bits_to_use
|
86
|
+
end
|
87
|
+
r
|
88
|
+
end
|
89
|
+
|
90
|
+
# Generate an integer in (0..n) inclusive, ie including both 0 and n.
|
91
|
+
# pre {|n| n >= 0}
|
92
|
+
# post {|res| result >= 0 && result <= n}
|
93
|
+
def rand_int_limited(n)
|
94
|
+
if n >= 2**32
|
95
|
+
rand_int_big_limited(n)
|
96
|
+
else
|
97
|
+
rand_int_small_limited(n)
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
FloatMultiplier = (1.0/4294967295.0)
|
102
|
+
FloatMultiplierExclusive = (1.0/4294967296.0)
|
103
|
+
|
104
|
+
# Generate a random float value in (0.0, 1.0) which means that both 0.0
|
105
|
+
# and 1.0 is included in the interval.
|
106
|
+
# post {|res| res.kind_of?(Float)}
|
107
|
+
# post {|res| res >= 0.0}
|
108
|
+
# post {|res| res <= 1.0}
|
109
|
+
def rand_float
|
110
|
+
gen_uint32 * FloatMultiplier
|
111
|
+
end
|
112
|
+
|
113
|
+
# Generate a random float value in (0.0, 1.0( which means that 0.0
|
114
|
+
# is included in the interval while 1.0 is not.
|
115
|
+
# post {|res| res.kind_of?(Float)}
|
116
|
+
# post {|res| res >= 0.0}
|
117
|
+
# post {|res| res < 1.0}
|
118
|
+
def rand_float_exclusive
|
119
|
+
gen_uint32 * FloatMultiplierExclusive
|
120
|
+
end
|
121
|
+
|
122
|
+
# Same as Ruby's standard rand method.
|
123
|
+
#
|
124
|
+
# Converts _max_ to an integer using max1 = max.to_i.abs. If the result
|
125
|
+
# is zero, returns a floating point number >= 0.0 and < 1.0. Otherwise,
|
126
|
+
# returns an integer >= 0 and < max1.
|
127
|
+
def rand(max = 0)
|
128
|
+
max1 = max.to_i.abs
|
129
|
+
if max1 == 0
|
130
|
+
rand_float_exclusive
|
131
|
+
else
|
132
|
+
rand_int_limited(max1 - 1)
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
# Generate a random integer in the range (a..b) inclusive.
|
137
|
+
# pre {a >= 0}
|
138
|
+
# pre {b >= 0 && b >= a}
|
139
|
+
def rand_num(a, b)
|
140
|
+
a + rand_int_limited(b - a)
|
141
|
+
end
|
142
|
+
|
143
|
+
# Return a string with _numBytes random bytes.
|
144
|
+
def rand_bytes(numBytes)
|
145
|
+
str, index = " " * numBytes, 0
|
146
|
+
while index < numBytes
|
147
|
+
r = self.next
|
148
|
+
[numBytes-index, num_random_bytes].min.times do
|
149
|
+
str[index] = r & 0xff
|
150
|
+
r >>= 8
|
151
|
+
index += 1
|
152
|
+
end
|
153
|
+
end
|
154
|
+
str
|
155
|
+
end
|
156
|
+
|
157
|
+
protected
|
158
|
+
|
159
|
+
def mask_for_int(anInteger)
|
160
|
+
mask(num_bits_to_represent(anInteger))
|
161
|
+
end
|
162
|
+
|
163
|
+
# Above this value the Math.log calculation is unsure
|
164
|
+
MaxForMathLog = (2**1020)-1
|
165
|
+
|
166
|
+
# Number of bits needed to represent an integer
|
167
|
+
def num_bits_to_represent(anInteger)
|
168
|
+
return 1 if anInteger == 0
|
169
|
+
if anInteger > MaxForMathLog
|
170
|
+
anInteger.to_s(2).length
|
171
|
+
else
|
172
|
+
1 + (Math.log(anInteger)/Math.log(2)).floor
|
173
|
+
end
|
174
|
+
end
|
175
|
+
|
176
|
+
@@mask =
|
177
|
+
[0x00,
|
178
|
+
0x01, 0x03, 0x07, 0x0f,
|
179
|
+
0x1f, 0x3f, 0x7f, 0xff,
|
180
|
+
0x1ff, 0x3ff, 0x7ff, 0xfff,
|
181
|
+
0x1fff, 0x3fff, 0x7fff, 0xffff,
|
182
|
+
0x1ffff, 0x3ffff, 0x7ffff, 0xfffff]
|
183
|
+
|
184
|
+
def mask(bits)
|
185
|
+
@@mask[bits] ||= calc_mask(bits)
|
186
|
+
end
|
187
|
+
|
188
|
+
def calc_mask(anInteger)
|
189
|
+
(2**anInteger)-1
|
190
|
+
end
|
191
|
+
|
192
|
+
def add_bits(orig, numBits, newBits)
|
193
|
+
(orig << numBits) | (newBits & mask(numBits))
|
194
|
+
end
|
195
|
+
end
|
196
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
require 'math/statistics/chi_square'
|
2
|
+
|
3
|
+
module Random; end
|
4
|
+
|
5
|
+
# Methods related to testing randomness
|
6
|
+
module Random::Testing
|
7
|
+
# Perform the Chi Square test at a given _alpha_ level. Returns true iff
|
8
|
+
# the given _distribution_ can be assumed to come from a uniform
|
9
|
+
# distribution at an _alpha_ level of confidence.
|
10
|
+
def self.chi_square_test(distribution, alpha = 0.01)
|
11
|
+
labels, counts = distribution.keys, distribution.values
|
12
|
+
degrees_of_freedom = labels.length - 1
|
13
|
+
chisq = chi_square_statistic(counts)
|
14
|
+
# puts("ChiSq statistic = %.4f" % chisq)
|
15
|
+
# puts("Degrees of freedom = #{degrees_of_freedom}")
|
16
|
+
critical_chi_square_value =
|
17
|
+
Math::Statistics.critical_chi_square_value(degrees_of_freedom, alpha)
|
18
|
+
# If the calculated chi-square statistic is less than the critical value
|
19
|
+
# we accept the distribution as coming from a uniform process.
|
20
|
+
chisq < critical_chi_square_value
|
21
|
+
end
|
22
|
+
|
23
|
+
# Calculate the chi square statistic for the counts for each bin
|
24
|
+
# given in _binCounts_ (an Array of integers).
|
25
|
+
def self.chi_square_statistic(binCounts)
|
26
|
+
num_bins = binCounts.length
|
27
|
+
sum = binCounts.inject(0) {|s,e| s+e}
|
28
|
+
expected = sum.to_f / num_bins
|
29
|
+
# puts("Expected = #{expected}")
|
30
|
+
binCounts.inject(0) do |chisq, observed|
|
31
|
+
d = observed - expected
|
32
|
+
chisq + ((d * d) / expected)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,625 @@
|
|
1
|
+
Testing output and speed of MersenneTwister.h
|
2
|
+
|
3
|
+
Test of random integer generation:
|
4
|
+
1067595299 955945823 477289528 4107218783 4228976476
|
5
|
+
3344332714 3355579695 227628506 810200273 2591290167
|
6
|
+
2560260675 3242736208 646746669 1479517882 4245472273
|
7
|
+
1143372638 3863670494 3221021970 1773610557 1138697238
|
8
|
+
1421897700 1269916527 2859934041 1764463362 3874892047
|
9
|
+
3965319921 72549643 2383988930 2600218693 3237492380
|
10
|
+
2792901476 725331109 605841842 271258942 715137098
|
11
|
+
3297999536 1322965544 4229579109 1395091102 3735697720
|
12
|
+
2101727825 3730287744 2950434330 1661921839 2895579582
|
13
|
+
2370511479 1004092106 2247096681 2111242379 3237345263
|
14
|
+
4082424759 219785033 2454039889 3709582971 835606218
|
15
|
+
2411949883 2735205030 756421180 2175209704 1873865952
|
16
|
+
2762534237 4161807854 3351099340 181129879 3269891896
|
17
|
+
776029799 2218161979 3001745796 1866825872 2133627728
|
18
|
+
34862734 1191934573 3102311354 2916517763 1012402762
|
19
|
+
2184831317 4257399449 2899497138 3818095062 3030756734
|
20
|
+
1282161629 420003642 2326421477 2741455717 1278020671
|
21
|
+
3744179621 271777016 2626330018 2560563991 3055977700
|
22
|
+
4233527566 1228397661 3595579322 1077915006 2395931898
|
23
|
+
1851927286 3013683506 1999971931 3006888962 1049781534
|
24
|
+
1488758959 3491776230 104418065 2448267297 3075614115
|
25
|
+
3872332600 891912190 3936547759 2269180963 2633455084
|
26
|
+
1047636807 2604612377 2709305729 1952216715 207593580
|
27
|
+
2849898034 670771757 2210471108 467711165 263046873
|
28
|
+
3569667915 1042291111 3863517079 1464270005 2758321352
|
29
|
+
3790799816 2301278724 3106281430 7974801 2792461636
|
30
|
+
555991332 621766759 1322453093 853629228 686962251
|
31
|
+
1455120532 957753161 1802033300 1021534190 3486047311
|
32
|
+
1902128914 3701138056 4176424663 1795608698 560858864
|
33
|
+
3737752754 3141170998 1553553385 3367807274 711546358
|
34
|
+
2475125503 262969859 251416325 2980076994 1806565895
|
35
|
+
969527843 3529327173 2736343040 2987196734 1649016367
|
36
|
+
2206175811 3048174801 3662503553 3138851612 2660143804
|
37
|
+
1663017612 1816683231 411916003 3887461314 2347044079
|
38
|
+
1015311755 1203592432 2170947766 2569420716 813872093
|
39
|
+
1105387678 1431142475 220570551 4243632715 4179591855
|
40
|
+
2607469131 3090613241 282341803 1734241730 1391822177
|
41
|
+
1001254810 827927915 1886687171 3935097347 2631788714
|
42
|
+
3905163266 110554195 2447955646 3717202975 3304793075
|
43
|
+
3739614479 3059127468 953919171 2590123714 1132511021
|
44
|
+
3795593679 2788030429 982155079 3472349556 859942552
|
45
|
+
2681007391 2299624053 647443547 233600422 608168955
|
46
|
+
3689327453 1849778220 1608438222 3968158357 2692977776
|
47
|
+
2851872572 246750393 3582818628 3329652309 4036366910
|
48
|
+
1012970930 950780808 3959768744 2538550045 191422718
|
49
|
+
2658142375 3276369011 2927737484 1234200027 1920815603
|
50
|
+
3536074689 1535612501 2184142071 3276955054 428488088
|
51
|
+
2378411984 4059769550 3913744741 2732139246 64369859
|
52
|
+
3755670074 842839565 2819894466 2414718973 1010060670
|
53
|
+
1839715346 2410311136 152774329 3485009480 4102101512
|
54
|
+
2852724304 879944024 1785007662 2748284463 1354768064
|
55
|
+
3267784736 2269127717 3001240761 3179796763 895723219
|
56
|
+
865924942 4291570937 89355264 1471026971 4114180745
|
57
|
+
3201939751 2867476999 2460866060 3603874571 2238880432
|
58
|
+
3308416168 2072246611 2755653839 3773737248 1709066580
|
59
|
+
4282731467 2746170170 2832568330 433439009 3175778732
|
60
|
+
26248366 2551382801 183214346 3893339516 1928168445
|
61
|
+
1337157619 3429096554 3275170900 1782047316 4264403756
|
62
|
+
1876594403 4289659572 3223834894 1728705513 4068244734
|
63
|
+
2867840287 1147798696 302879820 1730407747 1923824407
|
64
|
+
1180597908 1569786639 198796327 560793173 2107345620
|
65
|
+
2705990316 3448772106 3678374155 758635715 884524671
|
66
|
+
486356516 1774865603 3881226226 2635213607 1181121587
|
67
|
+
1508809820 3178988241 1594193633 1235154121 326117244
|
68
|
+
2304031425 937054774 2687415945 3192389340 2003740439
|
69
|
+
1823766188 2759543402 10067710 1533252662 4132494984
|
70
|
+
82378136 420615890 3467563163 541562091 3535949864
|
71
|
+
2277319197 3330822853 3215654174 4113831979 4204996991
|
72
|
+
2162248333 3255093522 2219088909 2978279037 255818579
|
73
|
+
2859348628 3097280311 2569721123 1861951120 2907080079
|
74
|
+
2719467166 998319094 2521935127 2404125338 259456032
|
75
|
+
2086860995 1839848496 1893547357 2527997525 1489393124
|
76
|
+
2860855349 76448234 2264934035 744914583 2586791259
|
77
|
+
1385380501 66529922 1819103258 1899300332 2098173828
|
78
|
+
1793831094 276463159 360132945 4178212058 595015228
|
79
|
+
177071838 2800080290 1573557746 1548998935 378454223
|
80
|
+
1460534296 1116274283 3112385063 3709761796 827999348
|
81
|
+
3580042847 1913901014 614021289 4278528023 1905177404
|
82
|
+
45407939 3298183234 1184848810 3644926330 3923635459
|
83
|
+
1627046213 3677876759 969772772 1160524753 1522441192
|
84
|
+
452369933 1527502551 832490847 1003299676 1071381111
|
85
|
+
2891255476 973747308 4086897108 1847554542 3895651598
|
86
|
+
2227820339 1621250941 2881344691 3583565821 3510404498
|
87
|
+
849362119 862871471 797858058 2867774932 2821282612
|
88
|
+
3272403146 3997979905 209178708 1805135652 6783381
|
89
|
+
2823361423 792580494 4263749770 776439581 3798193823
|
90
|
+
2853444094 2729507474 1071873341 1329010206 1289336450
|
91
|
+
3327680758 2011491779 80157208 922428856 1158943220
|
92
|
+
1667230961 2461022820 2608845159 387516115 3345351910
|
93
|
+
1495629111 4098154157 3156649613 3525698599 4134908037
|
94
|
+
446713264 2137537399 3617403512 813966752 1157943946
|
95
|
+
3734692965 1680301658 3180398473 3509854711 2228114612
|
96
|
+
1008102291 486805123 863791847 3189125290 1050308116
|
97
|
+
3777341526 4291726501 844061465 1347461791 2826481581
|
98
|
+
745465012 2055805750 4260209475 2386693097 2980646741
|
99
|
+
447229436 2077782664 1232942813 4023002732 1399011509
|
100
|
+
3140569849 2579909222 3794857471 900758066 2887199683
|
101
|
+
1720257997 3367494931 2668921229 955539029 3818726432
|
102
|
+
1105704962 3889207255 2277369307 2746484505 1761846513
|
103
|
+
2413916784 2685127085 4240257943 1166726899 4215215715
|
104
|
+
3082092067 3960461946 1663304043 2087473241 4162589986
|
105
|
+
2507310778 1579665506 767234210 970676017 492207530
|
106
|
+
1441679602 1314785090 3262202570 3417091742 1561989210
|
107
|
+
3011406780 1146609202 3262321040 1374872171 1634688712
|
108
|
+
1280458888 2230023982 419323804 3262899800 39783310
|
109
|
+
1641619040 1700368658 2207946628 2571300939 2424079766
|
110
|
+
780290914 2715195096 3390957695 163151474 2309534542
|
111
|
+
1860018424 555755123 280320104 1604831083 2713022383
|
112
|
+
1728987441 3639955502 623065489 3828630947 4275479050
|
113
|
+
3516347383 2343951195 2430677756 635534992 3868699749
|
114
|
+
808442435 3070644069 4282166003 2093181383 2023555632
|
115
|
+
1568662086 3422372620 4134522350 3016979543 3259320234
|
116
|
+
2888030729 3185253876 4258779643 1267304371 1022517473
|
117
|
+
815943045 929020012 2995251018 3371283296 3608029049
|
118
|
+
2018485115 122123397 2810669150 1411365618 1238391329
|
119
|
+
1186786476 3155969091 2242941310 1765554882 279121160
|
120
|
+
4279838515 1641578514 3796324015 13351065 103516986
|
121
|
+
1609694427 551411743 2493771609 1316337047 3932650856
|
122
|
+
4189700203 463397996 2937735066 1855616529 2626847990
|
123
|
+
55091862 3823351211 753448970 4045045500 1274127772
|
124
|
+
1124182256 92039808 2126345552 425973257 386287896
|
125
|
+
2589870191 1987762798 4084826973 2172456685 3366583455
|
126
|
+
3602966653 2378803535 2901764433 3716929006 3710159000
|
127
|
+
2653449155 3469742630 3096444476 3932564653 2595257433
|
128
|
+
318974657 3146202484 853571438 144400272 3768408841
|
129
|
+
782634401 2161109003 570039522 1886241521 14249488
|
130
|
+
2230804228 1604941699 3928713335 3921942509 2155806892
|
131
|
+
134366254 430507376 1924011722 276713377 196481886
|
132
|
+
3614810992 1610021185 1785757066 851346168 3761148643
|
133
|
+
2918835642 3364422385 3012284466 3735958851 2643153892
|
134
|
+
3778608231 1164289832 205853021 2876112231 3503398282
|
135
|
+
3078397001 3472037921 1748894853 2740861475 316056182
|
136
|
+
1660426908 168885906 956005527 3984354789 566521563
|
137
|
+
1001109523 1216710575 2952284757 3834433081 3842608301
|
138
|
+
2467352408 3974441264 3256601745 1409353924 1329904859
|
139
|
+
2307560293 3125217879 3622920184 3832785684 3882365951
|
140
|
+
2308537115 2659155028 1450441945 3532257603 3186324194
|
141
|
+
1225603425 1124246549 175808705 3009142319 2796710159
|
142
|
+
3651990107 160762750 1902254979 1698648476 1134980669
|
143
|
+
497144426 3302689335 4057485630 3603530763 4087252587
|
144
|
+
427812652 286876201 823134128 1627554964 3745564327
|
145
|
+
2589226092 4202024494 62878473 3275585894 3987124064
|
146
|
+
2791777159 1916869511 2585861905 1375038919 1403421920
|
147
|
+
60249114 3811870450 3021498009 2612993202 528933105
|
148
|
+
2757361321 3341402964 2621861700 273128190 4015252178
|
149
|
+
3094781002 1621621288 2337611177 1796718448 1258965619
|
150
|
+
4241913140 2138560392 3022190223 4174180924 450094611
|
151
|
+
3274724580 617150026 2704660665 1469700689 1341616587
|
152
|
+
356715071 1188789960 2278869135 1766569160 2795896635
|
153
|
+
57824704 2893496380 1235723989 1630694347 3927960522
|
154
|
+
428891364 1814070806 2287999787 4125941184 3968103889
|
155
|
+
3548724050 1025597707 1404281500 2002212197 92429143
|
156
|
+
2313943944 2403086080 3006180634 3561981764 1671860914
|
157
|
+
1768520622 1803542985 844848113 3006139921 1410888995
|
158
|
+
1157749833 2125704913 1789979528 1799263423 741157179
|
159
|
+
2405862309 767040434 2655241390 3663420179 2172009096
|
160
|
+
2511931187 1680542666 231857466 1154981000 157168255
|
161
|
+
1454112128 3505872099 1929775046 2309422350 2143329496
|
162
|
+
2960716902 407610648 2938108129 2581749599 538837155
|
163
|
+
2342628867 430543915 740188568 1937713272 3315215132
|
164
|
+
2085587024 4030765687 766054429 3517641839 689721775
|
165
|
+
1294158986 1753287754 4202601348 1974852792 33459103
|
166
|
+
3568087535 3144677435 1686130825 4134943013 3005738435
|
167
|
+
3599293386 426570142 754104406 3660892564 1964545167
|
168
|
+
829466833 821587464 1746693036 1006492428 1595312919
|
169
|
+
1256599985 1024482560 1897312280 2902903201 691790057
|
170
|
+
1037515867 3176831208 1968401055 2173506824 1089055278
|
171
|
+
1748401123 2941380082 968412354 1818753861 2973200866
|
172
|
+
3875951774 1119354008 3988604139 1647155589 2232450826
|
173
|
+
3486058011 3655784043 3759258462 847163678 1082052057
|
174
|
+
989516446 2871541755 3196311070 3929963078 658187585
|
175
|
+
3664944641 2175149170 2203709147 2756014689 2456473919
|
176
|
+
3890267390 1293787864 2830347984 3059280931 4158802520
|
177
|
+
1561677400 2586570938 783570352 1355506163 31495586
|
178
|
+
3789437343 3340549429 2092501630 896419368 671715824
|
179
|
+
3530450081 3603554138 1055991716 3442308219 1499434728
|
180
|
+
3130288473 3639507000 17769680 2259741420 487032199
|
181
|
+
4227143402 3693771256 1880482820 3924810796 381462353
|
182
|
+
4017855991 2452034943 2736680833 2209866385 2128986379
|
183
|
+
437874044 595759426 641721026 1636065708 3899136933
|
184
|
+
629879088 3591174506 351984326 2638783544 2348444281
|
185
|
+
2341604660 2123933692 143443325 1525942256 364660499
|
186
|
+
599149312 939093251 1523003209 106601097 376589484
|
187
|
+
1346282236 1297387043 764598052 3741218111 933457002
|
188
|
+
1886424424 3219631016 525405256 3014235619 323149677
|
189
|
+
2038881721 4100129043 2851715101 2984028078 1888574695
|
190
|
+
2014194741 3515193880 4180573530 3461824363 2641995497
|
191
|
+
3179230245 2902294983 2217320456 4040852155 1784656905
|
192
|
+
3311906931 87498458 2752971818 2635474297 2831215366
|
193
|
+
3682231106 2920043893 3772929704 2816374944 309949752
|
194
|
+
2383758854 154870719 385111597 1191604312 1840700563
|
195
|
+
872191186 2925548701 1310412747 2102066999 1504727249
|
196
|
+
3574298750 1191230036 3330575266 3180292097 3539347721
|
197
|
+
681369118 3305125752 3648233597 950049240 4173257693
|
198
|
+
1760124957 512151405 681175196 580563018 1169662867
|
199
|
+
4015033554 2687781101 699691603 2673494188 1137221356
|
200
|
+
123599888 472658308 1053598179 1012713758 3481064843
|
201
|
+
3759461013 3981457956 3830587662 1877191791 3650996736
|
202
|
+
988064871 3515461600 4089077232 2225147448 1249609188
|
203
|
+
2643151863 3896204135 2416995901 1397735321 3460025646
|
204
|
+
|
205
|
+
Test of random real number [0,1) generation:
|
206
|
+
0.76275443 0.99000644 0.98670464 0.10143112 0.27933125
|
207
|
+
0.69867227 0.94218740 0.03427201 0.78842173 0.28180608
|
208
|
+
0.92179002 0.20785655 0.54534773 0.69644020 0.38107718
|
209
|
+
0.23978165 0.65286910 0.07514568 0.22765211 0.94872929
|
210
|
+
0.74557914 0.62664415 0.54708246 0.90959343 0.42043116
|
211
|
+
0.86334511 0.19189126 0.14718544 0.70259889 0.63426346
|
212
|
+
0.77408121 0.04531601 0.04605807 0.88595519 0.69398270
|
213
|
+
0.05377184 0.61711170 0.05565708 0.10133577 0.41500776
|
214
|
+
0.91810699 0.22320679 0.23353705 0.92871862 0.98897234
|
215
|
+
0.19786706 0.80558809 0.06961067 0.55840445 0.90479405
|
216
|
+
0.63288060 0.95009721 0.54948447 0.20645042 0.45000959
|
217
|
+
0.87050869 0.70806991 0.19406895 0.79286390 0.49332866
|
218
|
+
0.78483914 0.75145146 0.12341941 0.42030252 0.16728160
|
219
|
+
0.59906494 0.37575460 0.97815160 0.39815952 0.43595080
|
220
|
+
0.04952478 0.33917805 0.76509902 0.61034321 0.90654701
|
221
|
+
0.92915732 0.85365931 0.18812377 0.65913428 0.28814566
|
222
|
+
0.59476081 0.27835931 0.60722542 0.68310435 0.69387186
|
223
|
+
0.03699800 0.65897714 0.17527003 0.02889304 0.86777366
|
224
|
+
0.12352068 0.91439461 0.32022990 0.44445731 0.34903686
|
225
|
+
0.74639273 0.65918367 0.92492794 0.31872642 0.77749724
|
226
|
+
0.85413832 0.76385624 0.32744211 0.91326300 0.27458185
|
227
|
+
0.22190155 0.19865383 0.31227402 0.85321225 0.84243342
|
228
|
+
0.78544200 0.71854080 0.92503892 0.82703064 0.88306297
|
229
|
+
0.47284073 0.70059042 0.48003761 0.38671694 0.60465770
|
230
|
+
0.41747204 0.47163243 0.72750808 0.65830223 0.10955369
|
231
|
+
0.64215401 0.23456345 0.95944940 0.72822249 0.40888451
|
232
|
+
0.69980355 0.26677428 0.57333635 0.39791582 0.85377858
|
233
|
+
0.76962816 0.72004885 0.90903087 0.51376506 0.37732665
|
234
|
+
0.12691640 0.71249738 0.81217908 0.37037313 0.32772374
|
235
|
+
0.14238259 0.05614811 0.74363008 0.39773267 0.94859135
|
236
|
+
0.31452454 0.11730313 0.62962618 0.33334237 0.45547255
|
237
|
+
0.10089665 0.56550662 0.60539371 0.16027624 0.13245301
|
238
|
+
0.60959939 0.04671662 0.99356286 0.57660859 0.40269560
|
239
|
+
0.45274629 0.06699735 0.85064246 0.87742744 0.54508392
|
240
|
+
0.87242982 0.29321385 0.67660627 0.68230715 0.79052073
|
241
|
+
0.48592054 0.25186266 0.93769755 0.28565487 0.47219067
|
242
|
+
0.99054882 0.13155240 0.47110470 0.98556600 0.84397623
|
243
|
+
0.12875246 0.90953202 0.49129015 0.23792727 0.79481194
|
244
|
+
0.44337770 0.96564297 0.67749118 0.55684872 0.27286897
|
245
|
+
0.79538393 0.61965356 0.22487929 0.02226018 0.49248200
|
246
|
+
0.42247006 0.91797788 0.99250134 0.23449967 0.52531508
|
247
|
+
0.10246337 0.78685622 0.34310922 0.89892996 0.40454552
|
248
|
+
0.68608407 0.30752487 0.83601319 0.54956031 0.63777550
|
249
|
+
0.82199797 0.24890696 0.48801123 0.48661910 0.51223987
|
250
|
+
0.32969635 0.31075073 0.21393155 0.73453207 0.15565705
|
251
|
+
0.58584522 0.28976728 0.97621478 0.61498701 0.23891470
|
252
|
+
0.28518540 0.46809591 0.18371914 0.37597910 0.13492176
|
253
|
+
0.66849449 0.82811466 0.56240330 0.37548956 0.27562998
|
254
|
+
0.27521910 0.74096121 0.77176757 0.13748143 0.99747138
|
255
|
+
0.92504502 0.09175241 0.21389176 0.21766512 0.31183245
|
256
|
+
0.23271221 0.21207367 0.57903312 0.77523344 0.13242613
|
257
|
+
0.31037988 0.01204835 0.71652949 0.84487594 0.14982178
|
258
|
+
0.57423142 0.45677888 0.48420169 0.53465428 0.52667473
|
259
|
+
0.46880526 0.49849733 0.05670710 0.79022476 0.03872047
|
260
|
+
0.21697212 0.20443086 0.28949326 0.81678186 0.87629474
|
261
|
+
0.92297064 0.27373097 0.84625273 0.51505586 0.00582792
|
262
|
+
0.33295971 0.91848412 0.92537226 0.91760033 0.07541125
|
263
|
+
0.71745848 0.61158698 0.00941650 0.03135554 0.71527471
|
264
|
+
0.24821915 0.63636652 0.86159918 0.26450229 0.60160194
|
265
|
+
0.35557725 0.24477500 0.07186456 0.51757096 0.62120362
|
266
|
+
0.97981062 0.69954667 0.21065616 0.13382753 0.27693186
|
267
|
+
0.59644095 0.71500764 0.04110751 0.95730081 0.91600724
|
268
|
+
0.47704678 0.26183479 0.34706971 0.07545431 0.29398385
|
269
|
+
0.93236070 0.60486023 0.48015011 0.08870451 0.45548581
|
270
|
+
0.91872718 0.38142712 0.10668643 0.01397541 0.04520355
|
271
|
+
0.93822273 0.18011940 0.57577277 0.91427606 0.30911399
|
272
|
+
0.95853475 0.23611214 0.69619891 0.69601980 0.76765372
|
273
|
+
0.58515930 0.49479057 0.11288752 0.97187699 0.32095365
|
274
|
+
0.57563608 0.40760618 0.78703383 0.43261152 0.90877651
|
275
|
+
0.84686346 0.10599030 0.72872803 0.19315490 0.66152912
|
276
|
+
0.10210518 0.06257876 0.47950688 0.47062066 0.72701157
|
277
|
+
0.48915116 0.66110261 0.60170685 0.24516994 0.12726050
|
278
|
+
0.03451185 0.90864994 0.83494878 0.94800035 0.91035206
|
279
|
+
0.14480751 0.88458997 0.53498312 0.15963215 0.55378627
|
280
|
+
0.35171349 0.28719791 0.09097957 0.00667896 0.32309622
|
281
|
+
0.87561479 0.42534520 0.91748977 0.73908457 0.41793223
|
282
|
+
0.99279792 0.87908370 0.28458072 0.59132853 0.98672190
|
283
|
+
0.28547393 0.09452165 0.89910674 0.53681109 0.37931425
|
284
|
+
0.62683489 0.56609740 0.24801549 0.52948179 0.98328855
|
285
|
+
0.66403523 0.55523786 0.75886666 0.84784685 0.86829981
|
286
|
+
0.71448906 0.84670080 0.43922919 0.20771016 0.64157936
|
287
|
+
0.25664246 0.73055695 0.86395782 0.65852932 0.99061803
|
288
|
+
0.40280575 0.39146298 0.07291005 0.97200603 0.20555729
|
289
|
+
0.59616495 0.08138254 0.45796388 0.33681125 0.33989127
|
290
|
+
0.18717090 0.53545811 0.60550838 0.86520709 0.34290701
|
291
|
+
0.72743276 0.73023855 0.34195926 0.65019733 0.02765254
|
292
|
+
0.72575740 0.32709576 0.03420866 0.26061893 0.56997511
|
293
|
+
0.28439072 0.84422744 0.77637570 0.55982168 0.06720327
|
294
|
+
0.58449067 0.71657369 0.15819609 0.58042821 0.07947911
|
295
|
+
0.40193792 0.11376012 0.88762938 0.67532159 0.71223735
|
296
|
+
0.27829114 0.04806073 0.21144026 0.58830274 0.04140071
|
297
|
+
0.43215628 0.12952729 0.94668759 0.87391019 0.98382450
|
298
|
+
0.27750768 0.90849647 0.90962737 0.59269720 0.96102026
|
299
|
+
0.49544979 0.32007095 0.62585546 0.03119821 0.85953001
|
300
|
+
0.22017528 0.05834068 0.80731217 0.53799961 0.74166948
|
301
|
+
0.77426600 0.43938444 0.54862081 0.58575513 0.15886492
|
302
|
+
0.73214332 0.11649057 0.77463977 0.85788827 0.17061997
|
303
|
+
0.66838056 0.96076133 0.07949296 0.68521946 0.89986254
|
304
|
+
0.05667410 0.12741385 0.83470977 0.63969104 0.46612929
|
305
|
+
0.10200126 0.01194925 0.10476340 0.90285217 0.31221221
|
306
|
+
0.32980614 0.46041971 0.52024973 0.05425470 0.28330912
|
307
|
+
0.60426543 0.00598243 0.97244013 0.21135841 0.78561597
|
308
|
+
0.78428734 0.63422849 0.32909934 0.44771136 0.27380750
|
309
|
+
0.14966697 0.18156268 0.65686758 0.28726350 0.97074787
|
310
|
+
0.63676171 0.96649494 0.24526295 0.08297372 0.54257548
|
311
|
+
0.03166785 0.33735355 0.15946671 0.02102971 0.46228045
|
312
|
+
0.11892296 0.33408336 0.29875681 0.29847692 0.73767569
|
313
|
+
0.02080745 0.62980060 0.08082293 0.22993106 0.25031439
|
314
|
+
0.87787525 0.45150053 0.13673441 0.63407612 0.97907688
|
315
|
+
0.52241942 0.50580158 0.06273902 0.05270283 0.77031811
|
316
|
+
0.05113352 0.24393329 0.75036441 0.37436336 0.22877652
|
317
|
+
0.59975358 0.85707591 0.88691457 0.85547165 0.36641027
|
318
|
+
0.58720133 0.45462835 0.09243817 0.32981586 0.07820411
|
319
|
+
0.25421519 0.36004706 0.60092307 0.46192412 0.36758683
|
320
|
+
0.98424170 0.08019934 0.68594024 0.45826386 0.29962317
|
321
|
+
0.79365413 0.89231296 0.49478547 0.87645944 0.23590734
|
322
|
+
0.28106737 0.75026285 0.08136314 0.79582424 0.76010628
|
323
|
+
0.82792971 0.27947652 0.72482861 0.82191216 0.46171689
|
324
|
+
0.79189752 0.96043686 0.51609668 0.88995725 0.28998963
|
325
|
+
0.55191845 0.03934737 0.83033700 0.49553013 0.98009549
|
326
|
+
0.19017594 0.98347750 0.33452066 0.87144372 0.72106301
|
327
|
+
0.71272114 0.71465963 0.88361677 0.85571283 0.73782329
|
328
|
+
0.20920458 0.34855153 0.46766817 0.02780062 0.74898344
|
329
|
+
0.03680650 0.44866557 0.77426312 0.91025891 0.25195236
|
330
|
+
0.87319953 0.63265037 0.25552148 0.27422476 0.95217406
|
331
|
+
0.39281839 0.66441573 0.09158900 0.94515992 0.07800798
|
332
|
+
0.02507888 0.39901462 0.17382573 0.12141278 0.85502334
|
333
|
+
0.19902911 0.02160210 0.44460522 0.14688742 0.68020336
|
334
|
+
0.71323733 0.60922473 0.95400380 0.99611159 0.90897777
|
335
|
+
0.41073520 0.66206647 0.32064685 0.62805003 0.50677209
|
336
|
+
0.52690101 0.87473387 0.73918362 0.39826974 0.43683919
|
337
|
+
0.80459118 0.32422684 0.01958019 0.95319576 0.98326137
|
338
|
+
0.83931735 0.69060863 0.33671416 0.68062550 0.65152380
|
339
|
+
0.33392969 0.03451730 0.95227244 0.68200635 0.85074171
|
340
|
+
0.64721009 0.51234433 0.73402047 0.00969637 0.93835057
|
341
|
+
0.80803854 0.31485260 0.20089527 0.01323282 0.59933780
|
342
|
+
0.31584602 0.20209563 0.33754800 0.68604181 0.24443049
|
343
|
+
0.19952227 0.78162632 0.10336988 0.11360736 0.23536740
|
344
|
+
0.23262256 0.67803776 0.48749791 0.74658435 0.92156640
|
345
|
+
0.56706407 0.36683221 0.99157136 0.23421374 0.45183767
|
346
|
+
0.91609720 0.85573315 0.37706276 0.77042618 0.30891908
|
347
|
+
0.40709595 0.06944866 0.61342849 0.88817388 0.58734506
|
348
|
+
0.98711323 0.14744128 0.63242656 0.87704136 0.68347125
|
349
|
+
0.84446569 0.43265239 0.25146321 0.04130111 0.34259839
|
350
|
+
0.92697368 0.40878778 0.56990338 0.76204273 0.19820348
|
351
|
+
0.66314909 0.02482844 0.06669207 0.50205581 0.26084093
|
352
|
+
0.65139159 0.41650223 0.09733904 0.56344203 0.62651696
|
353
|
+
0.67332139 0.58037374 0.47258086 0.21010758 0.05713135
|
354
|
+
0.89390629 0.10781246 0.32037450 0.07628388 0.34227964
|
355
|
+
0.42190597 0.58201860 0.77363549 0.49595133 0.86031236
|
356
|
+
0.83906769 0.81098161 0.26694195 0.14215941 0.88210306
|
357
|
+
0.53634237 0.12090720 0.82480459 0.75930318 0.31847147
|
358
|
+
0.92768077 0.01037616 0.56201727 0.88107122 0.35925856
|
359
|
+
0.85860762 0.61109408 0.70408301 0.58434977 0.92192494
|
360
|
+
0.62667915 0.75988365 0.06858761 0.36156496 0.58057195
|
361
|
+
0.13636150 0.57719713 0.59340255 0.63530602 0.22976282
|
362
|
+
0.71915530 0.41162531 0.63979565 0.09931342 0.79344045
|
363
|
+
0.10893790 0.84450224 0.23122236 0.99485593 0.73637397
|
364
|
+
0.17276368 0.13357764 0.74965804 0.64991737 0.61990341
|
365
|
+
0.41523170 0.05878239 0.05687301 0.05497131 0.42868366
|
366
|
+
0.42571090 0.25810502 0.89642955 0.30439758 0.39310223
|
367
|
+
0.11357431 0.04288255 0.23397550 0.11200634 0.85621396
|
368
|
+
0.89733974 0.37508865 0.42077265 0.68597384 0.72781399
|
369
|
+
0.19296476 0.61699087 0.31667128 0.67756410 0.00177323
|
370
|
+
0.05725176 0.79474693 0.18885238 0.06724856 0.68193156
|
371
|
+
0.42202167 0.22082041 0.28554673 0.64995708 0.87851940
|
372
|
+
0.29124547 0.61009521 0.87374537 0.05743712 0.69902994
|
373
|
+
0.81925115 0.45653873 0.37236821 0.31118709 0.52734307
|
374
|
+
0.39672836 0.38185294 0.30163915 0.17374510 0.04913278
|
375
|
+
0.90404879 0.25742801 0.58266467 0.97663209 0.79823377
|
376
|
+
0.36437958 0.15206043 0.26529938 0.22690047 0.05839021
|
377
|
+
0.84721160 0.18622435 0.37809403 0.55706977 0.49828704
|
378
|
+
0.47659049 0.24289680 0.88477595 0.07807463 0.56245739
|
379
|
+
0.73490635 0.21099431 0.13164942 0.75840044 0.66877037
|
380
|
+
0.28988183 0.44046090 0.24967434 0.80048356 0.26029740
|
381
|
+
0.30416821 0.64151867 0.52067892 0.12880774 0.85465381
|
382
|
+
0.02690525 0.19149288 0.49630295 0.79682619 0.43566145
|
383
|
+
0.00288078 0.81484193 0.03763639 0.68529083 0.01339574
|
384
|
+
0.38405386 0.30537067 0.22994703 0.44000045 0.27217985
|
385
|
+
0.53831243 0.02870435 0.86282045 0.61831306 0.09164956
|
386
|
+
0.25609707 0.07445781 0.72185784 0.90058883 0.30070608
|
387
|
+
0.94476583 0.56822213 0.21933909 0.96772793 0.80063440
|
388
|
+
0.26307906 0.31183306 0.16501252 0.55436179 0.68562285
|
389
|
+
0.23829083 0.86511559 0.57868991 0.81888344 0.20126869
|
390
|
+
0.93172350 0.66028129 0.21786948 0.78515828 0.10262106
|
391
|
+
0.35390326 0.79303876 0.63427924 0.90479631 0.31024934
|
392
|
+
0.60635447 0.56198079 0.63573813 0.91854197 0.99701497
|
393
|
+
0.83085849 0.31692291 0.01925964 0.97446405 0.98751283
|
394
|
+
0.60944293 0.13751018 0.69519957 0.68956636 0.56969015
|
395
|
+
0.46440193 0.88341765 0.36754434 0.89223647 0.39786427
|
396
|
+
0.85055280 0.12749961 0.79452122 0.89449784 0.14567830
|
397
|
+
0.45716830 0.74822309 0.28200437 0.42546044 0.17464886
|
398
|
+
0.68308746 0.65496587 0.52935411 0.12736159 0.61523955
|
399
|
+
0.81590528 0.63107864 0.39786553 0.20102294 0.53292914
|
400
|
+
0.75485590 0.59847044 0.32861691 0.12125866 0.58917183
|
401
|
+
0.07638293 0.86845380 0.29192617 0.03989733 0.52180460
|
402
|
+
0.32503407 0.64071852 0.69516575 0.74254998 0.54587026
|
403
|
+
0.48713246 0.32920155 0.08719954 0.63497059 0.54328459
|
404
|
+
0.64178757 0.45583809 0.70694291 0.85212760 0.86074305
|
405
|
+
0.33163422 0.85739792 0.59908488 0.74566046 0.72157152
|
406
|
+
|
407
|
+
Test of random real number [0,1] generation:
|
408
|
+
0.99974175 0.16290988 0.28261781 0.94720108 0.23165654
|
409
|
+
0.48497361 0.95747696 0.74430534 0.54004366 0.73995298
|
410
|
+
0.75994380 0.65863661 0.31563762 0.80440301 0.51967212
|
411
|
+
0.16857242 0.47552973 0.39231399 0.22166769 0.21319046
|
412
|
+
0.03033520 0.33353925 0.19414885 0.94371678 0.57993168
|
413
|
+
0.89830486 0.66556393 0.49861031 0.56062826 0.18228465
|
414
|
+
0.29652553 0.11740893 0.06291767 0.64812557 0.72541853
|
415
|
+
0.63713116 0.71388506 0.09957624 0.69926720 0.10781247
|
416
|
+
0.12924275 0.50240304 0.20777991 0.28891031 0.08317479
|
417
|
+
0.12812422 0.54737141 0.08231960 0.29214143 0.89162374
|
418
|
+
0.22711784 0.43184546 0.14073300 0.40039213 0.68694690
|
419
|
+
0.17067091 0.44082087 0.04533657 0.31129641 0.50618105
|
420
|
+
0.18241084 0.51103202 0.74078821 0.36598863 0.16080884
|
421
|
+
0.46010679 0.62783647 0.67760369 0.69819652 0.47853687
|
422
|
+
0.09010759 0.33872852 0.09521380 0.43654196 0.47467335
|
423
|
+
0.41924593 0.77753685 0.62461056 0.98043655 0.37043020
|
424
|
+
0.83081264 0.14080645 0.74408531 0.82973968 0.39110432
|
425
|
+
0.62195639 0.34669948 0.04616952 0.61306632 0.56737405
|
426
|
+
0.49889403 0.72380208 0.14455052 0.04230316 0.31078702
|
427
|
+
0.12164115 0.24206967 0.38105886 0.44012854 0.59979590
|
428
|
+
0.64457465 0.43262622 0.55596826 0.71684117 0.64236251
|
429
|
+
0.68577673 0.09615815 0.12293346 0.05699742 0.82007204
|
430
|
+
0.12553929 0.31574507 0.18056692 0.14222722 0.66442961
|
431
|
+
0.68518922 0.19100193 0.43634302 0.96445922 0.86816359
|
432
|
+
0.13087997 0.48444228 0.37465445 0.90047512 0.17865679
|
433
|
+
0.67963513 0.62287431 0.98365595 0.44071478 0.80473728
|
434
|
+
0.99484506 0.54155096 0.25590546 0.63894564 0.57591027
|
435
|
+
0.25872142 0.19159300 0.44566305 0.14926651 0.99672369
|
436
|
+
0.12176222 0.65153928 0.02779510 0.38997760 0.82791304
|
437
|
+
0.28381391 0.61020364 0.23641275 0.41082105 0.67771462
|
438
|
+
0.84712659 0.64925623 0.08138265 0.12083048 0.47919926
|
439
|
+
0.77787836 0.47197770 0.94333751 0.98080099 0.33455473
|
440
|
+
0.20266792 0.34284123 0.65354424 0.68275880 0.60993614
|
441
|
+
0.09992710 0.76625498 0.73558153 0.24113914 0.26317871
|
442
|
+
0.96086990 0.42339574 0.33605815 0.00024950 0.86884102
|
443
|
+
0.00375315 0.16584631 0.01182084 0.60645507 0.72997202
|
444
|
+
0.61382456 0.96576818 0.49709826 0.52988540 0.46160753
|
445
|
+
0.71303370 0.57995977 0.68280256 0.95392151 0.02365520
|
446
|
+
0.28011015 0.86952635 0.29933327 0.31955360 0.30095171
|
447
|
+
0.94111149 0.84812706 0.75334613 0.53824409 0.40848138
|
448
|
+
0.21237132 0.07614040 0.28993491 0.01978183 0.24124790
|
449
|
+
0.38461916 0.45490689 0.37398252 0.44018880 0.11789681
|
450
|
+
0.80542984 0.16489264 0.28252994 0.17268540 0.93584233
|
451
|
+
0.68095306 0.13369674 0.25476122 0.39944488 0.36923537
|
452
|
+
0.72636189 0.27783746 0.69356910 0.50035469 0.11840554
|
453
|
+
0.15130334 0.68144694 0.72066592 0.97964694 0.69677911
|
454
|
+
0.55721007 0.68082148 0.95535205 0.59820896 0.77045390
|
455
|
+
0.91359749 0.65895865 0.67097461 0.57818518 0.95303929
|
456
|
+
0.16292346 0.33505699 0.95182470 0.10966164 0.61930230
|
457
|
+
0.95681674 0.98524309 0.07073775 0.50233039 0.68072123
|
458
|
+
0.55332007 0.58700558 0.69162056 0.46264791 0.57425429
|
459
|
+
0.07289009 0.63826652 0.38775729 0.22096022 0.00223180
|
460
|
+
0.49565678 0.19131652 0.02226501 0.90358902 0.73862818
|
461
|
+
0.44453089 0.41770224 0.76086112 0.43775322 0.19098286
|
462
|
+
0.57711296 0.13268834 0.31782435 0.48691649 0.93909107
|
463
|
+
0.93394628 0.07366014 0.61243630 0.51474872 0.62466358
|
464
|
+
0.13064526 0.64521044 0.13414855 0.65292597 0.26521001
|
465
|
+
0.38180527 0.59021506 0.66970408 0.55433248 0.01950476
|
466
|
+
0.18434696 0.99118046 0.57367776 0.63776209 0.59485760
|
467
|
+
0.51524469 0.33069351 0.39674245 0.88396548 0.77148527
|
468
|
+
0.59907538 0.02472663 0.01225879 0.69845232 0.26599101
|
469
|
+
0.73670072 0.99997262 0.74979232 0.48495559 0.82370053
|
470
|
+
0.62277709 0.90251209 0.05650513 0.73907739 0.37617622
|
471
|
+
0.03680076 0.77619822 0.83735419 0.34508193 0.08184265
|
472
|
+
0.22262154 0.15247632 0.40117720 0.53161261 0.81170660
|
473
|
+
0.04077757 0.11788901 0.57518997 0.83236221 0.20464185
|
474
|
+
0.23872177 0.99692870 0.25859060 0.89205597 0.84685979
|
475
|
+
0.30658371 0.03336249 0.70642050 0.19361561 0.50897814
|
476
|
+
0.02154515 0.67273279 0.81356244 0.80728405 0.48152684
|
477
|
+
0.53751910 0.78084861 0.33584891 0.69925937 0.42585530
|
478
|
+
0.82524066 0.94561369 0.55484125 0.71049519 0.37836037
|
479
|
+
0.64833873 0.04567272 0.15547732 0.88535397 0.72156572
|
480
|
+
0.96166720 0.43030089 0.13203135 0.43933121 0.46718774
|
481
|
+
0.41008322 0.27719671 0.27850956 0.95462081 0.80435749
|
482
|
+
0.96851047 0.99972279 0.94716028 0.24855114 0.00670499
|
483
|
+
0.44472732 0.67404878 0.49648036 0.02100925 0.83176322
|
484
|
+
0.10854585 0.09315164 0.89020564 0.44594521 0.90690677
|
485
|
+
0.55403982 0.75943435 0.81555138 0.53296850 0.05513515
|
486
|
+
0.05398565 0.89918819 0.14690737 0.48264731 0.06730298
|
487
|
+
0.28116186 0.93284917 0.50731793 0.56450301 0.80071320
|
488
|
+
0.64588750 0.30921950 0.04780661 0.25196583 0.71388114
|
489
|
+
0.67099402 0.60528576 0.14827190 0.79525035 0.66527735
|
490
|
+
0.85430204 0.81053368 0.07114398 0.06879357 0.89046657
|
491
|
+
0.75804596 0.07031059 0.85209448 0.77535690 0.68489520
|
492
|
+
0.23455279 0.46157569 0.93643546 0.66494642 0.45967959
|
493
|
+
0.88782351 0.57462226 0.03016862 0.76735472 0.34547856
|
494
|
+
0.60912314 0.21754287 0.64376056 0.57139265 0.80231105
|
495
|
+
0.96233555 0.40176986 0.99655342 0.74594581 0.44841118
|
496
|
+
0.39578428 0.12338993 0.53261491 0.83337960 0.91767313
|
497
|
+
0.82560757 0.44591540 0.26713620 0.66439890 0.76686069
|
498
|
+
0.66596828 0.50395511 0.83515370 0.62240538 0.45753892
|
499
|
+
0.55498328 0.36581371 0.65630223 0.91703867 0.27605459
|
500
|
+
0.12121444 0.96617825 0.69743901 0.44354779 0.63019582
|
501
|
+
0.36834667 0.23819196 0.30027382 0.71033217 0.04747484
|
502
|
+
0.49252544 0.08125398 0.12201678 0.99310218 0.35509103
|
503
|
+
0.76486373 0.90409954 0.39610961 0.81713486 0.34897422
|
504
|
+
0.26619363 0.36750196 0.75231621 0.58780002 0.48942109
|
505
|
+
0.67347406 0.32829614 0.85394584 0.83238074 0.15958869
|
506
|
+
0.32241102 0.95017371 0.09537671 0.23101986 0.86060775
|
507
|
+
0.35962719 0.98484370 0.03197567 0.82864991 0.51680949
|
508
|
+
0.48940792 0.96397730 0.96013174 0.68181679 0.86078817
|
509
|
+
0.45582928 0.33239066 0.05914980 0.45224598 0.21735422
|
510
|
+
0.34560744 0.54997199 0.31762225 0.89297644 0.49004545
|
511
|
+
0.25647901 0.96899864 0.91063647 0.22671760 0.32782857
|
512
|
+
0.28670209 0.14251505 0.09928174 0.19233241 0.30837687
|
513
|
+
0.87141596 0.39114879 0.78866088 0.20081604 0.98647596
|
514
|
+
0.88286213 0.10986245 0.35428326 0.55574268 0.69069846
|
515
|
+
0.64381575 0.36310429 0.07886271 0.20082041 0.71697353
|
516
|
+
0.74435375 0.76763643 0.24544245 0.66800912 0.88698938
|
517
|
+
0.36684993 0.53155663 0.50284398 0.31454367 0.62254136
|
518
|
+
0.01990386 0.67635513 0.42981862 0.23283521 0.98761946
|
519
|
+
0.30657214 0.49463704 0.74861489 0.89184356 0.04528550
|
520
|
+
0.42756107 0.22697844 0.48407299 0.16464563 0.08980749
|
521
|
+
0.38426374 0.02383547 0.32973455 0.53123074 0.47668336
|
522
|
+
0.87748247 0.45550163 0.49730250 0.39618430 0.88612473
|
523
|
+
0.73607009 0.10891760 0.39792190 0.84257502 0.82620032
|
524
|
+
0.93665517 0.24558961 0.63968862 0.49333503 0.07344951
|
525
|
+
0.78013810 0.04211212 0.70111648 0.94052327 0.70054817
|
526
|
+
0.77676027 0.19274258 0.00692527 0.84298363 0.91932418
|
527
|
+
0.24208327 0.19010067 0.73508464 0.16452232 0.99030645
|
528
|
+
0.98284794 0.65716954 0.01877364 0.75959648 0.35756761
|
529
|
+
0.50901634 0.73889968 0.56792316 0.28905663 0.41501714
|
530
|
+
0.98105456 0.36588448 0.51787826 0.84420902 0.96812265
|
531
|
+
0.25889453 0.47831044 0.43734099 0.37939800 0.20308188
|
532
|
+
0.55082075 0.25554272 0.55009803 0.87047794 0.24123021
|
533
|
+
0.15710824 0.21826083 0.11627774 0.74901828 0.15829066
|
534
|
+
0.47635391 0.54532732 0.87897812 0.01714422 0.54298199
|
535
|
+
0.31801808 0.78880534 0.87172137 0.73849041 0.09233301
|
536
|
+
0.30139864 0.63710329 0.57156427 0.71281034 0.64428924
|
537
|
+
0.23047601 0.97169559 0.96615943 0.29188391 0.17528582
|
538
|
+
0.31288255 0.98465128 0.56839135 0.84446856 0.14443391
|
539
|
+
0.45994061 0.60789791 0.18412271 0.34280549 0.60643300
|
540
|
+
0.83819659 0.18618852 0.03027447 0.30739186 0.12528603
|
541
|
+
0.27039496 0.87416148 0.37050956 0.89423337 0.40799567
|
542
|
+
0.88187847 0.64795124 0.23698673 0.52880734 0.29373154
|
543
|
+
0.09432043 0.93453863 0.12167933 0.34968176 0.06702686
|
544
|
+
0.64219677 0.69244714 0.33492673 0.37424419 0.31388505
|
545
|
+
0.53873829 0.09859252 0.49051423 0.32873567 0.70972579
|
546
|
+
0.88169803 0.39300048 0.85424327 0.46377659 0.52705639
|
547
|
+
0.49330989 0.26778434 0.58307748 0.05735142 0.95933637
|
548
|
+
0.77141717 0.04271846 0.49843337 0.05229427 0.56155145
|
549
|
+
0.96036191 0.61981731 0.52862837 0.69823518 0.18616204
|
550
|
+
0.55399817 0.66612029 0.15273105 0.94875016 0.18682579
|
551
|
+
0.58051266 0.85102444 0.10686584 0.67586174 0.79604524
|
552
|
+
0.65764610 0.00934952 0.20626759 0.63642037 0.03825646
|
553
|
+
0.67771025 0.67791793 0.67168427 0.39631772 0.66159705
|
554
|
+
0.63336038 0.96212424 0.99271142 0.09934483 0.06789327
|
555
|
+
0.42601315 0.94704550 0.70832601 0.46681785 0.04483629
|
556
|
+
0.74858092 0.67837069 0.21092134 0.39849031 0.95367558
|
557
|
+
0.02890228 0.93576657 0.84693047 0.66276018 0.86791090
|
558
|
+
0.65235932 0.45280494 0.30522898 0.35203499 0.27964340
|
559
|
+
0.23604559 0.02700346 0.65206239 0.71200023 0.61993087
|
560
|
+
0.12543908 0.45278996 0.92233151 0.12084436 0.40380897
|
561
|
+
0.26029045 0.77884364 0.66784120 0.02678944 0.49133230
|
562
|
+
0.91506089 0.70402535 0.62820085 0.57833847 0.62915642
|
563
|
+
0.73041065 0.64131833 0.46370933 0.61429124 0.25447066
|
564
|
+
0.80868269 0.22898373 0.45047800 0.87423514 0.20277391
|
565
|
+
0.52371119 0.12651827 0.57940290 0.26188467 0.20776906
|
566
|
+
0.55283816 0.85139536 0.51359444 0.55825984 0.66614854
|
567
|
+
0.99897466 0.17827407 0.11673964 0.06842554 0.62271338
|
568
|
+
0.31448295 0.88982793 0.80647766 0.42991695 0.52469546
|
569
|
+
0.45267553 0.63074312 0.56659449 0.95886066 0.90805229
|
570
|
+
0.70089826 0.37702538 0.68379623 0.19808846 0.61740070
|
571
|
+
0.41372616 0.82358842 0.75557795 0.70309732 0.36429428
|
572
|
+
0.81978699 0.75158176 0.04876951 0.52856900 0.61674819
|
573
|
+
0.27094283 0.80084175 0.23517422 0.90378655 0.25880157
|
574
|
+
0.19133641 0.01241034 0.85341400 0.62100871 0.85586193
|
575
|
+
0.14010620 0.87268796 0.70883974 0.09264099 0.02075042
|
576
|
+
0.78263652 0.03008252 0.50461063 0.08162218 0.77349375
|
577
|
+
0.87257728 0.88003125 0.88352430 0.87242733 0.45872223
|
578
|
+
0.90229884 0.54790495 0.05598844 0.59117989 0.56394171
|
579
|
+
0.77613008 0.29556978 0.04085365 0.39856718 0.28227462
|
580
|
+
0.80671632 0.50715936 0.68815096 0.49466404 0.45454604
|
581
|
+
0.42148009 0.03925173 0.09119620 0.39381531 0.13537319
|
582
|
+
0.96865058 0.81167611 0.32596541 0.96199918 0.10028120
|
583
|
+
0.10292461 0.30725909 0.33368206 0.85796613 0.52292174
|
584
|
+
0.61550004 0.98155868 0.79748474 0.19880967 0.45670419
|
585
|
+
0.57097080 0.21490870 0.68643331 0.27860212 0.17973985
|
586
|
+
0.39749795 0.16285894 0.80262176 0.08364591 0.63827075
|
587
|
+
0.23085652 0.58009438 0.86429251 0.93273829 0.82139312
|
588
|
+
0.48059047 0.63637302 0.18150866 0.46920050 0.30927644
|
589
|
+
0.66881043 0.72234116 0.57485667 0.52785451 0.80923156
|
590
|
+
0.98688266 0.32386050 0.60639646 0.75955897 0.79096818
|
591
|
+
0.06992981 0.55046541 0.00929828 0.78462948 0.68904411
|
592
|
+
0.96358809 0.51644160 0.35717830 0.48233689 0.42995960
|
593
|
+
0.99630615 0.60117601 0.78500421 0.97054212 0.48785455
|
594
|
+
0.09492675 0.97933177 0.12087774 0.63026034 0.19424754
|
595
|
+
0.21308170 0.01459878 0.36667112 0.34010078 0.72178635
|
596
|
+
0.36753311 0.02103354 0.13168799 0.58675968 0.73360464
|
597
|
+
0.86363515 0.13699465 0.05242698 0.40622341 0.24165695
|
598
|
+
0.47245070 0.87221598 0.45471923 0.07157907 0.31406124
|
599
|
+
0.49282311 0.74172113 0.69478366 0.98286787 0.31974814
|
600
|
+
0.80420370 0.05346782 0.74615535 0.30347493 0.09308151
|
601
|
+
0.93453166 0.74686819 0.10004847 0.72029651 0.21075374
|
602
|
+
0.96309675 0.74918941 0.73962193 0.51007233 0.08729299
|
603
|
+
0.65002047 0.08236485 0.72692075 0.53261827 0.74930587
|
604
|
+
0.86126694 0.03469945 0.09312246 0.65525710 0.95951785
|
605
|
+
0.48705723 0.85989575 0.08479442 0.71854172 0.85091833
|
606
|
+
0.81888478 0.71627446 0.40822393 0.63658567 0.52383870
|
607
|
+
0.37203887 0.35342610 0.59804905 0.09748687 0.27635304
|
608
|
+
|
609
|
+
Test of time to generate 300 million random integers:
|
610
|
+
Time elapsed = 5.080 s
|
611
|
+
|
612
|
+
Test of generation rates in various distributions:
|
613
|
+
Integers in [0,2^32-1] 58.82 million per second
|
614
|
+
Integers in [0,100] 37.88 million per second
|
615
|
+
Reals in [0,1] 59.52 million per second
|
616
|
+
Reals in [0,7] 58.82 million per second
|
617
|
+
Reals in normal distribution 4.27 million per second
|
618
|
+
|
619
|
+
Tests of functionality:
|
620
|
+
Passed array save/load test
|
621
|
+
Passed stream save/load test
|
622
|
+
Passed integer range test
|
623
|
+
Passed float range test
|
624
|
+
Passed Gaussian distribution test
|
625
|
+
Passed auto-seed uniqueness test
|