|
Re: New Random Number Generator: msg#00797lang.smalltalk.squeak.general
Ian Piumarta <ian.piumarta@xxxxxxxx> is claimed by the authorities to have written: > 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. Err... guess so. I got 9 elements < 100000 out of 100000 randoms. I'll let somebody far more anal retentive than I do a ful anal-yis. tim -- Tim Rowledge, tim@xxxxxxxxxxxxxxxxxxx, http://sumeru.stanford.edu/tim Useful random insult:- Her dentist went deaf from the drill's echoes.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Squeak on Jornada 720!, Russell Allen |
|---|---|
| Next by Date: | Re: About snippet of code, goran . hultgren |
| Previous by Thread: | Re: New Random Number Generator, Ian Piumarta |
| Next by Thread: | [ANN] [UPDATES] 20 updates for 3.3a, Scott Wallace |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |