[BUG] Float NaN's

Chris Muller afunkyobject at yahoo.com
Mon Sep 13 22:10:51 UTC 2004


> Hope this helps,

Yes, thanks for insightful explanation Boris.  Incidentally, Float>>#isNan also
has this curious implementation:

isNaN
	"simple, byte-order independent test for Not-a-Number"

	^ self ~= self

further supporting that this is intentional and not a bug.

Thanks,
  Chris



More information about the Squeak-dev mailing list