[squeak-dev] Re: Complex isNumber

Paolo Bonzini bonzini at gnu.org
Wed Mar 12 08:11:49 UTC 2008


> So from my perspective it would be completely fair to take the only 
> sensible interpretation of -1 sqrt and create a Complex by default.

I fully agree.

Regarding sorting, in GNU Smalltalk I did something, ahem, bold and 
decided that comparison methods would compare the absolute values. 
Well-behaved applications won't call comparison methods on complex 
numbers anyway.

Paolo



More information about the Squeak-dev mailing list