#20184: Comparison of number field elements embedded into RIF fails
-----------------------------+----------------------------
Reporter: mkoeppe | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-7.1
Component: number fields | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
-----------------------------+----------------------------
This is a follow-up on #17830, which made this possible:
{{{
sage: x = polygen(ZZ)
sage: K.<cbrt2> = NumberField(x^3 - 2, embedding=AA.polynomial_root(x^3-2,
RIF(0,3)))
sage: 6064/4813 < cbrt2 < 90325/71691
True
}}}
However, if I embed into a RIF instead, the same test fails.
{{{
sage: x = polygen(ZZ)
sage: K.<cbrt2> = NumberField(x^3 - 2,
embedding=RIF(AA.polynomial_root(x^3-2, RIF(0,3))))
sage: 6064/4813 < cbrt2 < 90325/71691
False
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/20184>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" 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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.