The number field comparison returns ">" for any two non-equal numbers. 
Surely there is a good reason for that behavior? I found this by debugging 
polyhedra over number fields (http://trac.sagemath.org/ticket/17197). 
Obviously you can't have polyhedra if your comparison is not working:

sage: K.<a> = NumberField(x^3 - 3*x + 8, embedding=-2.4920333)
sage: a.n()
-2.49203330117182
sage: a+1 > a
True
sage: a > a+1
True

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to