A not so Random Random

David N. Smith (IBM) dnsmith at watson.ibm.com
Fri Jun 11 18:53:59 UTC 1999


At 12:33 -0400 6/11/99, John.Maloney at disney.com wrote:
>...SNIP...
>I wonder if this problem of getting stuck in a cycle is a side
>effect of floating point roundoff and/or normalization? I would
>expect the integer version of the algorithm to be free of this
>problem; it was a well-tested and studied choice of parameters,
>which is  why we chose it.

I don't think it should have any effect since only the integer part of the
float should ever be used. IE, using floats there is a trick to get long
fast integers. The fraction part 'should' never be non-zero.

Dave
_______________________________
David N. Smith
IBM T J Watson Research Center
Hawthorne, NY
_______________________________
Any opinions or recommendations
herein are those of the author
and not of his employer.





More information about the Squeak-dev mailing list