Comment #2 on issue 2625 by asmeurer: Imaginary unit in R, ordering of complex numbers
http://code.google.com/p/sympy/issues/detail?id=2625

I suppose there is a natural ordering of the purely imaginary numbers but statements such as '5*I < 6*I' and 'I*4 > I' do not return Boolean values.

Actually, this is not even true. We should probably raise an error with that, just as Python does:

In [22]: 1j < 2j
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/Users/aaronmeurer/Documents/python/sympy/sympy/<ipython-input-22-44f3f2215930> in <module>()
----> 1 1j < 2j

TypeError: no ordering relation is defined for complex numbers

--
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