On Fri, Oct 3, 2008 at 12:44 AM, Tim Peters [EMAIL PROTECTED] wrote:
[Alec Henriksen]
How trustworthy is the randomness generated by the random module?
Python uses the Mersenne Twister algorithm for generating
pseudo-random numbers, and that's one of the highest-quality methods
known.
[Alec Henriksen]
How trustworthy is the randomness generated by the random module?
Python uses the Mersenne Twister algorithm for generating
pseudo-random numbers, and that's one of the highest-quality methods
known.
From here
On Fri, Oct 3, 2008 at 4:11 PM, Daniele [EMAIL PROTECTED] wrote:
From here
http://en.wikipedia.org/wiki/Pseudorandom_number_generator#Periodicity
and here
http://en.wikipedia.org/wiki/Mersenne_twister#Advantages
I think it can be argued that the randomness is pretty trustworthy :o)
Nice
Is your math correct? That's ridiculously large.
On Fri, Oct 3, 2008 at 10:03 AM, Andre Engels [EMAIL PROTECTED] wrote:
On Fri, Oct 3, 2008 at 4:11 PM, Daniele [EMAIL PROTECTED] wrote:
From here
http://en.wikipedia.org/wiki/Pseudorandom_number_generator#Periodicity
and here
On Fri, Oct 3, 2008 at 5:25 PM, Luke Paireepinart
[EMAIL PROTECTED] wrote:
Is your math correct? That's ridiculously large.
1 year equals 3600 * 24 * 365 makes about 3*10^8 seconds.
The universe is about 15.000.000.000 years old, that's about 5*10^17 seconds.
With 1 billion combinations per
On Fri, Oct 3, 2008 at 5:32 PM, Andre Engels [EMAIL PROTECTED] wrote:
On Fri, Oct 3, 2008 at 5:25 PM, Luke Paireepinart
[EMAIL PROTECTED] wrote:
Is your math correct? That's ridiculously large.
1 year equals 3600 * 24 * 365 makes about 3*10^8 seconds.
The universe is about 15.000.000.000
2008/10/3 Andre Engels [EMAIL PROTECTED]:
On Fri, Oct 3, 2008 at 4:11 PM, Daniele [EMAIL PROTECTED] wrote:
If you used every atom in the known universe as a computer, then let
them turn out a billion combinations a second for the entire time
since the big bang, and call the number of
Andre Engels wrote:
On Fri, Oct 3, 2008 at 5:25 PM, Luke Paireepinart
[EMAIL PROTECTED] wrote:
Is your math correct? That's ridiculously large.
1 year equals 3600 * 24 * 365 makes about 3*10^8 seconds.
The universe is about 15.000.000.000 years old, that's about
Hello list,
How trustworthy is the randomness generated by the random module? I
just wrote a script (with the help of some tutors here!) that finds the
largest streak in a series of coin flips.
My collected data:
100 coin flips = 6-7 streak (usually)
1000 coin flips = 10-12 streak (usually)
[Alec Henriksen]
How trustworthy is the randomness generated by the random module?
Python uses the Mersenne Twister algorithm for generating
pseudo-random numbers, and that's one of the highest-quality methods
known. You can read more about it, e.g., here:
10 matches
Mail list logo