On Jan 25, 7:05 am, Christopher Swenson <ch...@caswenson.com> wrote:
> If we have possible confusions about the numberiung, we should give them
> complex number identifier. So, 37, 37 + i, 37 - i, etc.
>
> Who knows which one comes first then?

Python doesn't:
sage: complex(37,1)<complex(37,-1)
TypeError: no ordering relation is defined for complex numbers

But Sage does:
sage: bool(37 +i < 37 -i)
False
sage: bool(37 +i > 37 -i)
True

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to