On Friday, December 30, 2011 2:28:56 PM UTC+8, Dima Pasechnik wrote:
>
> Is it legal to compare real elements of different number fields?


oops, sorry, certainly it's rather a comparison between an (positive) 
element in an approximation to the field of real numbers and 0 in a number 
field.
 

> E.g. on MacOSX:
> sage: F = RealField()
> sage: k.<i> = NumberField(x^3 +x + 1)
> sage: F(1).abs() > 0*i
> False
>
> while on Linux the same code returns True (this is the reason for the bug 
> in #12208).
>
> Dima
>

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