Re: [Tutor] How trustworthy are pseudo-random numbers?

2008-10-03 Thread W W
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.

Re: [Tutor] How trustworthy are pseudo-random numbers?

2008-10-03 Thread Daniele
[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

Re: [Tutor] How trustworthy are pseudo-random numbers?

2008-10-03 Thread Andre Engels
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

Re: [Tutor] How trustworthy are pseudo-random numbers?

2008-10-03 Thread Luke Paireepinart
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

Re: [Tutor] How trustworthy are pseudo-random numbers?

2008-10-03 Thread Andre Engels
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

Re: [Tutor] How trustworthy are pseudo-random numbers?

2008-10-03 Thread Andre Engels
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

Re: [Tutor] How trustworthy are pseudo-random numbers?

2008-10-03 Thread Daniele
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

Re: [Tutor] How trustworthy are pseudo-random numbers?

2008-10-03 Thread Robert Berman
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

Re: [Tutor] How trustworthy are pseudo-random numbers?

2008-10-02 Thread Tim Peters
[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: