logo       

Re: New Random Number Generator: msg#00795

lang.smalltalk.squeak.general

Subject: Re: New Random Number Generator

On Tue, 30 Jul 2002, Tim Rowledge wrote:

> OK, I have a working trivial plugin for this that just does a 30bit int
> for now. Seems to work ok - making a bag of 1000 values suggests it at
> least does a tolerable job. Though it does bother me a bit that in a
> whole load of tests I've not seen any number with less than a half-dozen
> digits.

Shouldn't you be expecting slightly less than 1 in 10,000 to be < 6
digits? Make a Bag of 100,000 of 'em and see if you get 10 or so less
than 10^6.

Ian





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise