tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
M\¬Qc@ s£dZddlmZddlmZddlmZm    Z
ddl m Z mZmZmZmZddl mZmZmZmZddlmZ ddl!m"Z#dd    l$Z%d
d d d ddddddddddddddddddd d!d"gZ&d#ed$ƒed%ƒZ'd%eZ(e d&ƒZ)d'e d(ƒZ*d)Z+d*e+ Z,dd    l-Z-d
e-j.fd+„ƒYZ.d e.fd,„ƒYZ/d"e.fd-„ƒYZ0d.„Z1d/d0„Z2e.ƒZ3e3j4Z4e3j5Z5e3j6Z6e3j7Z7e3j8Z8e3j9Z9e3j:Z:e3j;Z;e3j<Z<e3j=Z=e3j>Z>e3j?Z?e3j@Z@e3jAZAe3jBZBe3jCZCe3jDZDe3jEZEe3jFZFe3jGZGe3jHZHe3jIZIeJd1krŸe2ƒnd    S(2sPRandom variable generators.
 
    integers
    --------
           uniform within range
 
    sequences
    ---------
           pick random element
           pick random sample
           generate random permutation
 
    distributions on the real line:
    ------------------------------
           uniform
           triangular
           normal (Gaussian)
           lognormal
           negative exponential
           gamma
           beta
           pareto
           Weibull
 
    distributions on the circle (angles 0 to 2pi)
    ---------------------------------------------
           circular uniform
           von Mises
 
General notes on the underlying Mersenne Twister core generator:
 
* The period is 2**19937-1.
* It is one of the most extensively tested generators in existence.
* Without a direct way to compute N steps forward, the semantics of
  jumpahead(n) are weakened to simply jump to another distant state and rely
  on the large period to avoid overlapping sequences.
* The random() method is implemented in C, executes in a single Python step,
  and is, therefore, threadsafe.
 
iÿÿÿÿ(tdivision(twarn(t
MethodTypetBuiltinMethodType(tlogtexptpitetceil(tsqrttacostcostsin(turandom(thexlifyNtRandomtseedtrandomtuniformtrandinttchoicetsamplet    randrangetshufflet normalvariatetlognormvariatet expovariatetvonmisesvariatet gammavariatet
triangulartgausst betavariatet paretovariatetweibullvariatetgetstatetsetstatet    jumpaheadt WichmannHillt getrandbitst SystemRandomigà¿g@g@gð?g@i5icB s0eZdZdZdd„Zdd„Zd„Zd„Zd„Z    d„Z
d„Z d    „Z dd
e dd e>d „Zd „Zee d e>eed„Zd„Zde d„Zd„Zd„Zdddd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z d„Z!d„Z"RS( sÎRandom number generator base class used by bound module functions.
 
    Used to instantiate instances of Random to get generators that don't
    share state.  Especially useful for multi-threaded programs, creating
    a different instance of Random for each thread, and using the jumpahead()
    method to ensure that the generated sequences seen by each thread don't
    overlap.
 
    Class Random can also be subclassed if you want to use a different basic
    generator of your own devising: in that case, override the following
    methods: random(), seed(), getstate(), setstate() and jumpahead().
    Optionally, implement a getrandbits() method so that randrange() can cover
    arbitrarily large ranges.
 
    icC s|j|ƒd|_dS(seInitialize an instance.
 
        Optional argument x controls seeding, as for Random.seed().
        N(RtNonet
gauss_next(tselftx((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyt__init__[s cC s‡|dkrdytttdƒƒdƒ}Wqdtk
r`ddl}t|jƒdƒ}qdXntt|ƒj|ƒd|_    dS(sInitialize internal state from hashable object.
 
        None or no argument seeds from current time or from an operating
        system specific randomness source if available.
 
        If a is not None or an int or long, hash(a) is used instead.
        iiÿÿÿÿNi(
R(tlongt_hexlifyt_urandomtNotImplementedErrorttimetsuperRRR)(R*taR1((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyRds       cC s"|jtt|ƒjƒ|jfS(s9Return internal state; can be passed to setstate() later.(tVERSIONR2RR"R)(R*((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyR"wscC sÎ|d}|dkrA|\}}|_tt|ƒj|ƒn‰|dkr±|\}}|_ytd„|Dƒƒ}Wntk
r—}t|‚nXtt|ƒj|ƒntd||jfƒ‚dS(s:Restore internal state from object returned by getstate().iiics s|]}t|ƒdVqdS(ii NI(R-(t.0R+((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pys    <genexpr>ˆss?state with version %s passed to Random.setstate() of version %sN(R)R2RR#ttuplet
ValueErrort    TypeErrorR4(R*tstatetversiont internalstateR((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyR#{s
   cC sWt|ƒt|jƒƒ}ttjd|ƒjƒdƒ}tt|ƒj|ƒdS(s®Change the internal state to one that is likely far away
        from the current state.  This method will not be in Py3.x,
        so it is better to simply reseed.
        tsha512iN(    treprR"tintt_hashlibtnewt    hexdigestR2RR$(R*tnts((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyR$‘s!cC s
|jƒS(N(R"(R*((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyt __getstate__¢scC s|j|ƒdS(N(R#(R*R9((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyt __setstate__¥scC s|jd|jƒfS(N((t    __class__R"(R*((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyt
__reduce__¨silc C så||ƒ}||kr$td‚n||kru|dkri||krU|j|ƒS||jƒ|ƒStd‚n||ƒ}||kr™td‚n||}    |dkrü|    dkrü|    |krÞ|||j|    ƒƒS||||jƒ|    ƒƒS|dkr!td|||    f‚n||ƒ}
|
|krEtd‚n|
dkrf|    |
d|
} n*|
dkr‡|    |
d|
} n    td‚| dkr¨td‚n| |krÉ||
|j| ƒS||
||jƒ| ƒS(    sChoose a random item from range(start, stop[, step]).
 
        This fixes the problem with randint() which includes the
        endpoint; in Python this is usually not what you want.
        Do not supply the 'int', 'default', and 'maxwidth' arguments.
        s!non-integer arg 1 for randrange()isempty range for randrange()s non-integer stop for randrange()is'empty range for randrange() (%d,%d, %d)s non-integer step for randrange()szero step for randrange()(R7t
_randbelowR( R*tstarttstoptstepR>tdefaulttmaxwidthtistarttistoptwidthtistepRB((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyR­s@           
              cC s|j||dƒS(sJReturn random integer in range [a, b], including both end points.
        i(R(R*R3tb((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyRísc
C sÁy |j}Wntk
r ntXt|jƒ|ksHt|ƒ|kr”|d||ddƒƒ}||ƒ}    x|    |kr||ƒ}    qtW|    S||kr­tdƒn||jƒ|ƒS(s£Return a random int in the range [0,n)
 
        Handles the case where n has more bits than returned
        by a single call to the underlying generator.
        grÄZ|
ð?ig@sgUnderlying random() generator does not supply 
enough bits to choose from a population range this large(R&tAttributeErrorttypeRt_warn(
R*RBt_logR>t    _maxwidtht_Methodt_BuiltinMethodR&tktr((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyRHós  '   cC s|t|jƒt|ƒƒS(s2Choose a random element from a non-empty sequence.(R>Rtlen(R*tseq((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyRscC sv|dkr|j}nxWttdt|ƒƒƒD]:}||ƒ|dƒ}||||||<||<q4WdS(s×x, random=random.random -> shuffle list x in place; return None.
 
        Optional arg random is a 0-argument function returning a random
        float in [0.0, 1.0); by default, the standard random.random.
        iN(R(RtreversedtxrangeR\(R*R+RR>titj((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyRs
  "c C sÉt|ƒ}d|ko#|kns7tdƒ‚n|j}t}d    g|}d}|dkr‰|dtt|ddƒƒ7}n||ks¤t|dƒrt|ƒ}xt    |ƒD]A}    ||ƒ||    ƒ}
||
||    <|||    d||
<q½WnÀy~t
ƒ} | j } xet    |ƒD]W}    ||ƒ|ƒ}
x#|
| kre||ƒ|ƒ}
qCW| |
ƒ||
||    <q'WWn?t t fk
rÄt|tƒr®‚n|jt|ƒ|ƒSX|S(
s8Chooses k unique random elements from a population sequence.
 
        Returns a new list containing elements from the population while
        leaving the original population unchanged.  The resulting list is
        in selection order so that all sub-slices will also be valid random
        samples.  This allows raffle winners (the sample) to be partitioned
        into grand prize and second place winners (the subslices).
 
        Members of the population need not be hashable or unique.  If the
        population contains repeats, then each occurrence is a possible
        selection in the sample.
 
        To choose a sample in a range of integers, use xrange as an argument.
        This is especially fast and space efficient for sampling from a
        large population:   sample(xrange(10000000), 60)
        issample larger than populationiiiitkeysiN(R\R7RR>R(t_ceilRVthasattrtlistR_tsettaddR8tKeyErrort
isinstanceRR6( R*t
populationRZRBRt_inttresulttsetsizetpoolR`Ratselectedt selected_add((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyR"s:       $         
cC s||||jƒS(sHGet a random number in the range [a, b) or [a, b] depending on rounding.(R(R*R3RR((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyRcsggð?cC sx|jƒ}|dkrdn||||}||kr`d|}d|}||}}n|||||dS(sÜTriangular distribution.
 
        Continuous distribution bounded by given lower and upper limits,
        and having a given mode value in-between.
 
        http://en.wikipedia.org/wiki/Triangular_distribution
 
        gà?gð?N(RR((R*tlowthightmodetutc((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyRis     $ 
 
cC sh|j}xP|ƒ}d|ƒ}t|d|}||d}|t|ƒ kr Pq q |||S(s\Normal distribution.
 
        mu is the mean, and sigma is the standard deviation.
 
        gð?gà?g@(Rt NV_MAGICCONSTRV(R*tmutsigmaRtu1tu2tztzz((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyR|s         cC st|j||ƒƒS(sûLog normal distribution.
 
        If you take the natural logarithm of this distribution, you'll get a
        normal distribution with mean mu and standard deviation sigma.
        mu can have any value, and sigma must be greater than zero.
 
        (t_expR(R*RwRx((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyR•scC std|jƒƒ |S(s^Exponential distribution.
 
        lambd is 1.0 divided by the desired mean.  It should be
        nonzero.  (The parameter would be called "lambda", but that is
        a reserved word in Python.)  Returned values range from 0 to
        positive infinity if lambd is positive, and from negative
        infinity to 0 if lambd is negative.
 
        gð?(RVR(R*tlambd((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyR¡scC s|j}|dkr t|ƒSd|}|td||ƒ}xe|ƒ}tt|ƒ}|||}|ƒ}    |    d||ks£|    d|t|ƒkrEPqEqEd|}
|
|d|
|} |ƒ} | dkrö|t| ƒt} n|t| ƒt} | S(sFCircular data distribution.
 
        mu is the mean angle, expressed in radians between 0 and 2*pi, and
        kappa is the concentration parameter, which must be greater than or
        equal to zero.  If kappa is equal to zero, this distribution reduces
        to a uniform random angle over the range 0 to 2*pi.
 
        gíµ ÷ư>gà?gð?(RtTWOPIt_sqrtt_cost_piR}t_acos(R*RwtkappaRRCR[RyR{tdRztqtftu3ttheta((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyR´s&      
        .
     cC s|dks|dkr$td‚n|j}|dkrtd|dƒ}|t}||}x |ƒ}d|ko„dknsqdnd|ƒ}t|d|ƒ|}    |t|    ƒ}
|||} |||    |
} | td| dks| t| ƒkrd|
|Sqdnè|dkr\|ƒ} x| dkrL|ƒ} q4Wt| ƒ |Sx|ƒ} t|t}|| }|dkr|d|}
nt|||ƒ }
|ƒ}|dkrâ||
|dkrùPqùq_|t|
ƒkr_Pq_q_|
|SdS(    sZGamma distribution.  Not the gamma function!
 
        Conditions on the parameters are alpha > 0 and beta > 0.
 
        The probability distribution function is:
 
                    x ** (alpha - 1) * math.exp(-x / beta)
          pdf(x) =  --------------------------------------
                      math.gamma(alpha) * beta ** alpha
 
        gs*gammavariate: alpha and beta must be > 0.0gð?g@gH¯¼šò×z>gËPÊÿÿï?g@N(R7RR€tLOG4RVR}t SG_MAGICCONSTt_e(R*talphatbetaRtainvtbbbtcccRyRztvR+R{R[RtRRtp((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyRäsJ      
 
     *          
      cC sƒ|j}|j}d|_|dkrw|ƒt}tdtd|ƒƒƒ}t|ƒ|}t|ƒ||_n|||S(sØGaussian distribution.
 
        mu is the mean, and sigma is the standard deviation.  This is
        slightly faster than the normalvariate() function.
 
        Not thread-safe without a lock around calls.
 
        gÀgð?N(RR)R(RR€RVRt_sin(R*RwRxRR{tx2pitg2rad((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyR,s              cC s>|j|dƒ}|dkr"dS|||j|dƒSdS(sBeta distribution.
 
        Conditions on the parameters are alpha > 0 and beta > 0.
        Returned values range between 0 and 1.
 
        gð?igN(R(R*RRŽty((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyRas
 cC s%d|jƒ}dt|d|ƒS(s3Pareto distribution.  alpha is the shape parameter.gð?(Rtpow(R*RRt((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyR sscC s,d|jƒ}|tt|ƒ d|ƒS(sfWeibull distribution.
 
        alpha is the scale parameter and beta is the shape parameter.
 
        gð?(RR˜RV(R*RRŽRt((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyR!|sN(#t__name__t
__module__t__doc__R4R(R,RR"R#R$RDRERGR>tBPFRRRVt _MethodTypet_BuiltinMethodTypeRHRRRRRRRRRRRRR R!(((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyRHs:                              ?             A                    0    H    5            cB s\eZdZd    d„Zd„Zd„Zd„Zd„Zdddd„Z    d    d„Z
RS(
icC s|dkrdytttdƒƒdƒ}Wqdtk
r`ddl}t|jƒdƒ}qdXnt|ttfƒsˆt|ƒ}nt    |dƒ\}}t    |dƒ\}}t    |dƒ\}}t|ƒdt|ƒdt|ƒdf|_
d|_ dS(    süInitialize internal state from hashable object.
 
        None or no argument seeds from current time or from an operating
        system specific randomness source if available.
 
        If a is not None or an int or long, hash(a) is used instead.
 
        If a is an int or long, a is used directly.  Distinct values between
        0 and 27814431486575L inclusive are guaranteed to yield distinct
        internal states (this guarantee is specific to the default
        Wichmann-Hill generator).
        iiÿÿÿÿNii<vibvirvi( R(R-R.R/R0R1RiR>thashtdivmodt_seedR)(R*R3R1R+R—R{((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyRs   0cC sj|j\}}}d|d}d|d}d|d}|||f|_|d|d|d    d
S( s3Get the next random number in the range [0.0, 1.0).i«i=vi¬icviªisvg@Ý@gÀ˜Ý@gÀœÝ@gð?(R¡(R*R+R—R{((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyR¬s cC s|j|j|jfS(s9Return internal state; can be passed to setstate() later.(R4R¡R)(R*((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyR"ËscC sK|d}|dkr.|\}|_|_ntd||jfƒ‚dS(s:Restore internal state from object returned by getstate().iis?state with version %s passed to Random.setstate() of version %sN(R¡R)R7R4(R*R9R:((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyR#Ïs
 
 cC s£|dkstdƒ‚n|j\}}}t|td|dƒƒd}t|td|dƒƒd}t|td|dƒƒd}|||f|_d    S(
sÃAct as if n calls to random() were made, but quickly.
 
        n is an int, greater than or equal to 0.
 
        Example use:  If you have 2 threads and know that each will
        consume no more than a million random numbers, create two Random
        objects r1 and r2, then do
            r2.setstate(r1.getstate())
            r2.jumpahead(1000000)
        Then r1 and r2 will use guaranteed-disjoint segments of the full
        period.
        isn must be >= 0i«i=vi¬icviªisvN(R7R¡R>R˜(R*RBR+R—R{((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyR$Ùs    icC st|ƒt|ƒko4t|ƒko4tknsHtdƒ‚nd|ko_dkno™d|ko{dkno™d|ko—dkns«tdƒ‚nd|koÍ|koÍ|knrNddl}t|jƒdƒ}t|d@|d?Aƒ}t|dƒ\}}t|dƒ\}}t|dƒ\}}n|pWd    |p`d    |pid    f|_d|_    dS(
sjSet the Wichmann-Hill seed from (x, y, z).
 
        These must be integers in the range [0, 256).
        sseeds must be integersiisseeds must be in range(0, 256)iÿÿÿÿNiÿÿÿii(
RTR>R8R7R1R-R R¡R(R)(R*R+R—R{R1tt((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyt__whseedïs9T' $cC s¸|dkr|jƒdSt|ƒ}t|dƒ\}}t|dƒ\}}t|dƒ\}}||dpvd}||dpŠd}||dpžd}|j|||ƒdS(sbSeed from hashable object's hash code.
 
        None or no argument seeds from current time.  It is not guaranteed
        that objects with distinct hash codes lead to distinct internal
        states.
 
        This is obsolete, provided for compatibility with the seed routine
        used prior to Python 2.1.  Use the .seed() method instead.
        Nii(R(t_WichmannHill__whseedRŸR (R*R3R+R—R{((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pytwhseeds 
 N( R™RšR4R(RRR"R#R$R¤R¥(((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyR%‰s             
   cB sFeZdZd„Zd„Zd„ZeZZd„ZeZ    Z
RS(sÝAlternate random number generator using sources provided
    by the operating system (such as /dev/urandom on Unix or
    CryptGenRandom on Windows).
 
     Not available on all systems (see os.urandom() for details).
    cC s!tttdƒƒdƒd?tS(s3Get the next random number in the range [0.0, 1.0).iii(R-R.R/t    RECIP_BPF(R*((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyR'scC su|dkrtdƒ‚n|t|ƒkr<tdƒ‚n|dd}ttt|ƒƒdƒ}||d|?S(s>getrandbits(k) -> x.  Generates a long int with k random bits.is(number of bits must be greater than zeros#number of bits should be an integeriii(R7R>R8R-R.R/(R*RZtbytesR+((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyR&+s cO sdS(s<Stub method.  Not used for a system random number generator.N(R((R*targstkwds((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyt_stub5scO stdƒ‚dS(sAMethod should not be called for a system random number generator.s*System entropy source does not have state.N(R0(R*R¨R©((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyt_notimplemented:s( R™RšR›RR&RªRR$R«R"R#(((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyR's        
   
    cC sõddl}|GdG|jGHd}d}d}d}|jƒ}xVt|ƒD]H}    ||Œ}
||
7}||
|
}t|
|ƒ}t|
|ƒ}qMW|jƒ} t| |dƒGdG||} t||| | ƒ} d| | ||fGHdS(    Niÿÿÿÿttimesgg _ Bg _ Âissec,s!avg %g, stddev %g, min %g, max %g(R1R™trangetmintmaxtroundR€(RBtfuncR¨R1ttotaltsqsumtsmallesttlargesttt0R`R+tt1tavgtstddev((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyt_test_generatorAs&   
 
iÐcC s t|td ƒt|td ƒt|td ƒt|tdƒt|tdƒt|tdƒt|tdƒt|tdƒt|tdƒt|tdƒt|tdƒt|tdƒt|tdƒt|tdƒt|tdƒt|tdddfƒdS(Nggð?g{®Gáz„?gš™™™™™¹?g@gà?gÍÌÌÌÌÌì?g4@gi@g@((ggð?(ggð?(ggð?(g{®Gáz„?gð?(gš™™™™™¹?gð?(gš™™™™™¹?g@(gà?gð?(gÍÌÌÌÌÌì?gð?(gð?gð?(g@gð?(g4@gð?(gi@gð?(ggð?(g@g@gUUUUUUÕ?(    RºRRRRRRRR(tN((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyt_testWs t__main__(KR›t
__future__RtwarningsRRUttypesRRRRžtmathRRVRR}RR‚RRŒRRcR    R€R
RƒR RR R”tosR R/tbinasciiRR.thashlibR?t__all__RvRRŠR‹RœR¦t_randomRR%R'RºR¼t_instRRRRRRRRRRRRRRRRR R!R"R#R$R&R™(((sN/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/random.pyt<module>(sj("        
   ÿÿC–"