#4612: [with patch, needs work] is_perfect_power for rationals
------------------------------+---------------------------------------------
 Reporter:  robertwb          |        Owner:  somebody
     Type:  defect            |       Status:  new     
 Priority:  major             |    Milestone:  sage-3.4
Component:  basic arithmetic  |   Resolution:          
 Keywords:                    |  
------------------------------+---------------------------------------------
Comment (by cremona):

 Something is wrong:
 {{{
 sage: a=(-1/20)^3
 sage: a.is_perfect_power()
 False
 }}}
 but then so is this:
 {{{
 sage: a=(-20)^3
 sage: a.is_perfect_power()
 False
 }}}
 which does not call the new function but the old one (with integers).  Is
 this a bug in gmp?  If so it should be reported.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4612#comment:9>
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