It is still broken in 2.4.2:

                      GP/PARI CALCULATOR Version 2.4.2 (development)
                     i686 running linux (ix86 kernel) 32-bit version
                 compiled: Sep  5 2008, gcc-4.2.3 (Ubuntu 4.2.3-2ubuntu7)
                      (readline v5.2 enabled, extended help enabled)

                          Copyright (C) 2000-2006 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 = 4000000, primelimit = 500000
? n = 150607571^14
%1 = 
3089265681159475043336839581081873360674602365963130114355701114591322241990483812812582393906477998611814245513881
? ispower(n)
%2 = 2

(this should be 14).

John

2008/12/13 Craig Citro <craigci...@gmail.com>:
>
>>> #4777: William Stein: Sage is_prime_power is seriously buggy, because
>>> pari's ispower is BROKEN [Reviewed by Craig Citro]
>>>
>>> has the bug been reported to pari?
>>
>> Not yet AFAIK, but William wanted to do it.
>>
>
> I think the issue was that one of us wanted to actually check to see
> if it was already fixed in 2.4.2 (or whatever the newest 2.4 is) to
> make sure it was still a bug before sending the report.
>
> -cc
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to