[squeak-dev] 32 vs 64 bits and large integer hash

Luciano Notarfrancesco luchiano at gmail.com
Mon Nov 26 04:14:02 UTC 2018


On Mon, Nov 26, 2018 at 4:05 AM Luciano Notarfrancesco <luchiano at gmail.com>
wrote:

> 1 to 254 have probability 1/254 while 0 has probability 2/254
>

Oops, that should be 1/256 and 2/256, sorry.
When probabilities don't sum 1, unexpected things can happen ;)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20181126/232e0166/attachment.html>


More information about the Squeak-dev mailing list