#13053: wrong sign in square-free decomposition of polynomials over ZZ
-----------------------------+----------------------------------------------
Reporter: saraedum | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone: sage-5.1
Component: factorization | Keywords: sd40.5 FLINT NTL ZZ
Work issues: | Report Upstream: N/A
Reviewers: | Authors:
Merged in: | Dependencies:
Stopgaps: |
-----------------------------+----------------------------------------------
The NTL wrapper for {{{SquareFreeDecomp}}} gets the sign wrong for some
FLINT polynomials:
{{{
sage: R.<x> = PolynomialRing(ZZ, implementation='FLINT')
sage: f=-x^2
sage: f.squarefree_decomposition()
(-x)^2
}}}
It works correctly for NTL:
{{{
sage: R.<x> = PolynomialRing(ZZ, implementation='NTL')
sage: f=-x^2
sage: f.squarefree_decomposition()
(-1) * x^2
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13053>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.