[Newbies] What's wrong with this statement?
Randal L. Schwartz
merlyn at stonehenge.com
Thu Jul 31 19:43:48 UTC 2008
>>>>> "Randal" == Randal L Schwartz <merlyn at stonehenge.com> writes:
>>>>> "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. :)
Randal> It's pretty likely you have a 16-bit random generator, so there just aren't
Randal> enough bits to make the low-order bits random in any way shape or form.
Err, uh, 64 bits of random. But still not enough for a 128-bit random
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