[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] Limits of Random changed due the mersenne twister
From: |
Holger Hans Peter Freyther |
Subject: |
Re: [Help-smalltalk] Limits of Random changed due the mersenne twister |
Date: |
Tue, 19 Jul 2011 18:05:24 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110617 Lightning/1.0b2 Thunderbird/3.1.11 |
On 07/19/2011 03:48 PM, Paolo Bonzini wrote:
> Yes, it should be enough to add a handler for the failure of
> #nextLimit:, and combine a few random integers together before scaling
> the result down to the limit value.
>
> Probably the numbers you were getting were not random at all, so it's
> good that it now fails. :)
One more Mersenne Twister question. So if someone knows a row of 624 random
numbers, he knows the internal state of the twister... does it make sense to
reseed more often?
not a crypto expert
holger