Login  Register

#< if at first you dont succeed..

Posted by KenDickey on Aug 15, 2009; 7:30pm
URL: https://forum.world.st/if-at-first-you-dont-succeed-tp1303539.html

Igor Stasenko <[hidden email]>
> By reading a comment:  "Not defined on Complex numbers"
> i wonder why implementation is different than following:
...

How about this wording:

"Mathematically, complex numbers are a superset of the real numbers.
 Complex numbers with a zero imaginary part ARE real numbers and
 should behave as such.  That the #< selector is part of the Complex
 class is an artifact of the current implementation.  There is no agreed
 upon model for < comparison for complex numbers in general."

Better?

-KenD

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-KenD