gap-packages / PARIInterface

An interface to the PARI computer algebra library
GNU General Public License v2.0
0 stars 3 forks source link

conversion error for polynomial with large integer coefficients #14

Closed videlec closed 5 years ago

videlec commented 5 years ago
gap> LoadPackage("PARIInterface");
true
gap> x := Indeterminate(Rationals, "x");
x
gap> PARIPolynomial(2^100*x - 1);
Error, Conversion error, integer too large in
  PARI_UNIPOLY( coeffs ) at /opt/gap-master/pkg/PARIInterface/gap/PARIInterface.gi:40 called from 
<function "PARIPolynomial">( <arguments> )
 called from read-eval loop at *stdin*:3
videlec commented 5 years ago

0006-CoeffListToPariGEN-handle-long-integers.patch.txt

With Bill Allombert's patch.

videlec commented 5 years ago

fixed in master