#13786: Fix remaining instances of ArithmeticError: 0^0 is undefined
----------------------------------------------------------+-----------------
       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:                                          |     Merged in:      
        
   Dependencies:  #13894, #13895, #13897, #13940, #13941  |      Stopgaps:      
        
----------------------------------------------------------+-----------------
Changes (by mjo):

  * status:  new => needs_review


Old description:

> Some of these were fixed in #10772, but a few remain. Find/grep show,
>
> * ./libs/ntl/ntl_lzz_p.pyx
> * ./rings/finite_rings/element_givaro.pyx (#13897)
> * ./rings/finite_rings/integer_mod.pyx (#13894)
> * ./rings/padics/padic_capped_absolute_element.pyx (#13941)
> * ./rings/padics/padic_capped_relative_element.pyx
> * ./rings/padics/padic_fixed_mod_element.pyx
> * ./rings/padics/padic_ZZ_pX_CR_element.pyx
> * ./rings/padics/padic_ZZ_pX_FM_element.pyx
> * ./rings/polynomial/polynomial_modn_dense_ntl.pyx (#13895)
>
> Unless any of these are special (for whatever reason), we should return
> `1` instead from the appropriate ring.

New description:

 Some of these were fixed in #10772, but a few remain. Find/grep show,

 * ./rings/finite_rings/element_givaro.pyx (#13897)
 * ./rings/finite_rings/integer_mod.pyx (#13894)
 * ./rings/padics/padic_capped_absolute_element.pyx (#13941)
 * ./rings/padics/padic_capped_relative_element.pyx
 * ./rings/padics/padic_fixed_mod_element.pyx
 * ./rings/padics/padic_ZZ_pX_CR_element.pyx
 * ./rings/padics/padic_ZZ_pX_FM_element.pyx
 * ./rings/polynomial/polynomial_modn_dense_ntl.pyx (#13895)

 Unless any of these are special (for whatever reason), we should return
 `1` instead from the appropriate ring.

--

Comment:

 Patch is up. I had split them initially to make it easier for
 (potentially) multiple reviewers. Thanks for taking a look at all of them.

 I've removed ntl_lzz_p.pyx from the list per #13940. This patch should
 take care of the remaining four.

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