#19649: Crash in pari polroots()
-------------------------------------------------+-------------------------
Reporter: kedlaya | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.10
Component: interfaces | Resolution:
Keywords: pari, polynomials, roots | Merged in:
Authors: Jeroen Demeyer | Reviewers:
Report Upstream: Reported upstream. No | Work issues:
feedback yet. | Commit:
Branch: | Stopgaps:
Dependencies: |
-------------------------------------------------+-------------------------
Comment (by kedlaya):
Agreed that this is an upstream bug, but we may be able to avoid it simply
by requesting more working precision:
{{{
? \p20
realprecision = 38 significant digits (20 digits displayed)
? polroots((x+1)^2*(x-1)^7*(x^2-x+1)^5*1.0)
%4 = [-1.0000000000000000000 + 0.E-38*I, -1.0000000000000000000 +
0.E-38*I, 1.0000000000000000000 + 0.E-38*I, 1.0000000000000000000 +
0.E-38*I, 1.0000000000000000000 + 0.E-38*I, 1.0000000000000000000 +
0.E-38*I, 1.0000000000000000000 + 0.E-38*I, 1.0000000000000000000 +
0.E-38*I, 1.0000000000000000000 + 0.E-38*I, 0.50000000000000000000 -
0.86602540378443864676*I, 0.50000000000000000000 -
0.86602540378443864676*I, 0.50000000000000000000 -
0.86602540378443864676*I, 0.50000000000000000000 -
0.86602540378443864676*I, 0.50000000000000000000 -
0.86602540378443864676*I, 0.50000000000000000000 +
0.86602540378443864676*I, 0.50000000000000000000 +
0.86602540378443864676*I, 0.50000000000000000000 +
0.86602540378443864676*I, 0.50000000000000000000 +
0.86602540378443864676*I, 0.50000000000000000000 +
0.86602540378443864676*I]~
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/19649#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.
For more options, visit https://groups.google.com/d/optout.