Now that's just cheating.

--Christopher

On Wed, Jan 25, 2012 at 11:58, Nils Bruin <nbr...@sfu.ca> wrote:

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

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