Re: [sage-devel] imaginary unit I is smaller than 1

2017-02-19 Thread Daniel Krenn
On 2017-02-19 12:56, Daniel Krenn wrote: > I am surprised by > sage: bool(I < 1) > True Just to be clear, we are talking about comparison in number fields: sage: i = I.pyobject() sage: R = i.parent() sage: R Number Field in I with defining polynomial x^2 + 1 sage: i < R(1) True -- You re

Re: [sage-devel] imaginary unit I is smaller than 1

2017-02-19 Thread Jeroen Demeyer
On 2017-02-19 18:01, William Stein wrote: We generally made everything comparable -- NOT mathematically -- in Sage, so e.g., one could meaningful and in a well defined way sort the list of eigenvalues of a matrix, etc., etc. This thread is about *symbolic* inequalities, which is a different iss

Re: [sage-devel] imaginary unit I is smaller than 1

2017-02-19 Thread William Stein
We generally made everything comparable -- NOT mathematically -- in Sage, so e.g., one could meaningful and in a well defined way sort the list of eigenvalues of a matrix, etc., etc. However, I think when we switch to Python3, we'll likely change this and raise a lot of errors, or so I hear... A

[sage-devel] imaginary unit I is smaller than 1

2017-02-19 Thread Daniel Krenn
Dear all, I am surprised by sage: bool(I < 1) True Best Daniel -- 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 sage-devel+unsubscr...@googlegroups.com. To po