Comment #7 on issue 2625 by asmeurer: Imaginary unit in R, ordering of complex numbers
http://code.google.com/p/sympy/issues/detail?id=2625
That's really only a problem if the comparison operator is required to be compatible with the field operations for other reasons.
It is a problem. The reason that I in Interval(-oo, oo) returns True is because Interval.__contains__ returns And(-oo < I, I < oo). There are other places in the code that do this too.
There is no reason to make < and > define some esoteric ordering on complex numbers. There are other functions that do this for you if you want it. They should remain strictly as the ordered field definition.
-- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy-issues?hl=en.
