[squeak-dev] FloatConstants?

Chris Muller asqueaker at gmail.com
Wed Dec 24 04:23:32 UTC 2014


On Tue, Dec 23, 2014 at 5:08 PM, Nicolas Cellier
<nicolas.cellier.aka.nice at gmail.com> wrote:
> OK Chris, it should be corrected now,

This time it worked!  #hashKey32 passed for all 32-bit Floats.  Thank you!!

> but your assertion is false...
> Your floats are negative, but FloatArray basicAt: is considering unsigned 32
> bit ints... So the inequality must be swapped in this case...

Indeed.  As you know I was actually testing #hashKey32 and so that's
what I get for cut-n-pasting-n-tweaking.

Thanks again.


More information about the Squeak-dev mailing list