Bug#600869: pari-gp: ispower() does not work as documented

2010-10-20 Thread bodrato
On Wed, October 20, 2010 10:10 pm, Bill Allombert wrote: >> Versions of packages pari-gp depends on: >> ii libpari2-gmp 2.3.4-1PARI/GP Computer Algebra > > Please upgrade libpari2-gmp to 2.3.5-1 to get PARI 2.3.5 which fix this > bug Thanks! This upgrade solved the problem...

Bug#600869: pari-gp: ispower() does not work as documented

2010-10-20 Thread Bill Allombert
On Wed, Oct 20, 2010 at 09:10:37PM +0200, bodr...@mail.dm.unipi.it wrote: > Package: pari-gp > Version: 2.3.5-1 > Severity: normal > > ispower(x) should return the maximal $n$ such that an $a$ exists with > $a^n=x$. > But the following example session shows that this is not correctly computed. >

Bug#600869: pari-gp: ispower() does not work as documented

2010-10-20 Thread bodrato
Package: pari-gp Version: 2.3.5-1 Severity: normal ispower(x) should return the maximal $n$ such that an $a$ exists with $a^n=x$. But the following example session shows that this is not correctly computed. $ /usr/bin/gp -q ? ?ispower ispower(x,{k},{&n}): true (1) if x is a k-th power, false (0)