#13894: Fix ArithmeticError: 0^0 in rings/finite_rings/integer_mod.pyx
-------------------------------------------------------+--------------------
       Reporter:  mjo                                  |         Owner:  
AlexGhitza  
           Type:  defect                               |        Status:  
needs_review
       Priority:  major                                |     Milestone:  
sage-5.8    
      Component:  algebra                              |    Resolution:         
     
       Keywords:                                       |   Work issues:         
     
Report Upstream:  N/A                                  |     Reviewers:         
     
        Authors:  Michael Orlitzky, Jean-Pierre Flori  |     Merged in:         
     
   Dependencies:                                       |      Stopgaps:         
     
-------------------------------------------------------+--------------------

Old description:

> The few remaining instances of this error are tracked at #13786. In this
> case,
>
> {{{
> sage: R = Integers(100)
> sage: R(0)^0
> ...
> ArithmeticError: 0^0 is undefined.
> }}}
>
> __APPLY__
> * trac_13894-integers_0.patch

New description:

 The few remaining instances of this error are tracked at #13786. In this
 case,

 {{{
 sage: R = Integers(100)
 sage: R(0)^0
 ...
 ArithmeticError: 0^0 is undefined.
 }}}

 __APPLY__
 * sage-trac_13894.patch

--

Comment (by mjo):

 Thanks, I added doctests for the mod-1 case. I also put double backticks
 around `0^0` per tscrim's comment in #13786.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13894#comment:4>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to