#13054: Pernicious bug for algebraic numbers
---------------------------------+------------------------------------------
Reporter: rbeezer | Owner: davidloeffler
Type: defect | Status: new
Priority: major | Milestone: sage-5.7
Component: number fields | Resolution:
Keywords: sd40.5 | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
---------------------------------+------------------------------------------
Comment (by jdemeyer):
Why is this a bug in PARI? It seems to me that PARI behaves as
documented. The degree of the minimal polynomial is less than the degree
of the field.
What would you ''expect'' PARI to do in this case?
{{{
sage: R.<y> = QQ['y']
sage: best_elt = (1/16*y^2 - 134217728)._pari_()
sage: pari_poly = y^4 - 4294967296*y^2 + 54265257667816538374400
sage: rev = parent(best_elt.Mod(pari_poly).modreverse().lift())
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13054#comment:3>
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 http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.