Comment #11 on issue 1467 by smichr: sorting values with imaginary numbers  
in radical
http://code.google.com/p/sympy/issues/detail?id=1467

Ted, regarding the underlying issues:

I.is_comparable is False because I derives from Atom, not NumberSymbol. If  
you change
it to be comparable then tests like bool(3<I) lead to infinite recursion.

sqrt(I).is_comparable is True because it is not represented as a complex  
number (I
think), it is a negative base raised to a power so maybe that't the  
difference:

>>> sqrt(I)
(-1)**(1/4)

I'm not saying these aren't still issues, I'm just trying to document the  
reasons
they are as they are.

/c

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to