|Bill Allombert on Tue, 29 Jan 2013 15:30:51 +0100|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|Re: Is this a bug ?|
On Tue, Jan 29, 2013 at 03:14:24PM +0100, Ewan Delanoy wrote: > GP/PARI CALCULATOR Version 2.5.3 (released) > i386 running darwin (x86-64/GMP-5.0.4 kernel) 64-bit version > compiled: Jan 24 2013, gcc-4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00) > (readline v6.2 enabled, extended help enabled) > > Copyright (C) 2000-2011 The PARI Group > > PARI/GP is free software, covered by the GNU General Public License, and comes WITHOUT ANY > WARRANTY WHATSOEVER. > > Type ? for help, \q to quit. > Type ?12 for how to get moral (and possibly technical) support. > > parisize = 8000000, primelimit = 500509 > ? 9%4 > %1 = 1 > ? polcoeff(8*a+9*b,1,b) > %2 = 9 > ? (polcoeff(8*a+9*b,1,b))%4 > %3 = 0 The same problem again. 8*a+9*b is a bivariate polynomial so its coefficient in b is a polynomial in a, not an integer. Cheers, Bill.