Re: #< if at first you dont succeed..
Posted by
Igor Stasenko on
Aug 15, 2009; 7:48pm
URL: https://forum.world.st/if-at-first-you-dont-succeed-tp1303539p1303540.html
2009/8/15 Ken.Dickey <
[hidden email]>:
> 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?
>
Way more better!
That will certainly help others (those who not following current
discussions) to understand why it is there and why it behaves so.
Thanks Ken.
> -KenD
>
> _______________________________________________
> Pharo-project mailing list
>
[hidden email]
>
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project>
--
Best regards,
Igor Stasenko AKA sig.
_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project