[Newbies] What's wrong with this statement?
Randal L. Schwartz
merlyn at stonehenge.com
Thu Jul 31 19:41:21 UTC 2008
>>>>> "Timothy" == Timothy J Miller <tmiller at mitre.org> writes:
Timothy> (2 raisedTo: 128) atRandom hex
Timothy> Gives me results like:
Timothy> Somehow I'm not buying the lower-order bits on this one. :)
It's pretty likely you have a 16-bit random generator, so there just aren't
enough bits to make the low-order bits random in any way shape or form.
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
More information about the Beginners