#4777: [with patch; needs review] Sage is_prime_power is seriously buggy, 
because
pari's ispower is BROKEN
------------------------------+---------------------------------------------
 Reporter:  was               |        Owner:  somebody  
     Type:  defect            |       Status:  new       
 Priority:  critical          |    Milestone:  sage-3.2.2
Component:  basic arithmetic  |   Resolution:            
 Keywords:                    |  
------------------------------+---------------------------------------------
Changes (by was):

  * summary:  Sage is_prime_power is seriously buggy, because pari's
              ispower is BROKEN => [with patch; needs review]
              Sage is_prime_power is seriously buggy, because
              pari's ispower is BROKEN

Comment:

 BEFORE patch:
 {{{
 teragon-2:~ wstein$ sage
 ----------------------------------------------------------------------
 | Sage Version 3.2.1, Release Date: 2008-12-01                       |
 | Type notebook() for the GUI, and license() for information.        |
 ----------------------------------------------------------------------
 sage: n = 150607571^14
 sage: n.is_prime_power()
 False
 }}}

 AFTER patch:
 {{{
 sage: n = 150607571^14
 sage: n.is_prime_power()
 True
 }}}

 And I'm making this a blocker, since it is a situation where one can
 silently get very wrong answers.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4777#comment:1>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to