#12116: perfect_power for integers
--------------------------------+-------------------------------------------
   Reporter:  roed              |          Owner:  AlexGhitza                   
               
       Type:  enhancement       |         Status:  needs_review                 
               
   Priority:  major             |      Milestone:  sage-5.0                     
               
  Component:  basic arithmetic  |       Keywords:                               
               
Work_issues:                    |       Upstream:  None of the above - read 
trac for reasoning.
   Reviewer:  David Loeffler    |         Author:  David Roe                    
               
     Merged:                    |   Dependencies:  #10596, #12363               
               
--------------------------------+-------------------------------------------
Changes (by davidloeffler):

  * status:  needs_work => needs_review
  * upstream:  Completely fixed; Fix reported upstream => None of the above
               - read trac for reasoning.


Comment:

 Can we have a new option for the "Report Upstream" menu, "upstream claim
 to have fixed it but they apparently haven't"? PARI apparently believes
 that {{{ 2^3 = -8 }}}:

 {{{
                                       GP/PARI CALCULATOR Version 2.5.1
 (development git-5c5e253)
                                      amd64 running linux (x86-64/GMP-5.0.1
 kernel) 64-bit version
                                        compiled: Mar  5 2012, gcc-4.4.3
 (Ubuntu 4.4.3-4ubuntu5)
                                             (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
 ? ispower(-8, , &n)
 %1 = 3
 ? n
 %2 = 2
 }}}

 So I suggest we merge this patch as it is, and send another bug report to
 PARI -- roed, can you do the honours?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12116#comment:10>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
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