New Random Number Generator

Ian Piumarta ian.piumarta at inria.fr
Wed Jul 31 02:22:01 UTC 2002


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




More information about the Squeak-dev mailing list