#12636: 0.is_squarefree() raises a PariError
--------------------------------+-------------------------------------------
   Reporter:  johanbosman       |          Owner:  AlexGhitza                   
            
       Type:  defect            |         Status:  new                          
            
   Priority:  major             |      Milestone:  sage-5.0                     
            
  Component:  basic arithmetic  |       Keywords:  pari integer squarefree      
            
Work_issues:                    |       Upstream:  Reported upstream. Little or 
no feedback.
   Reviewer:                    |         Author:                               
            
     Merged:                    |   Dependencies:                               
            
--------------------------------+-------------------------------------------
Changes (by johanbosman):

  * upstream:  N/A => Reported upstream. Little or no feedback.


Comment:

 I've reported it upstream as this is clearly a Pari bug:
 {{{
 ? issquarefree(0)
   ***   at top-level: issquarefree(0)
   ***                 ^---------------
   *** issquarefree: zero argument in an arithmetic function.
   ***   Break loop: type 'break' to go back to GP
 }}}

 In older Pari versions we do get 0 as output.

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