#10047: ZeroDivisionError in crt method of IntegerMod
-------------------------+--------------------------------------------------
   Reporter:  roed       |       Owner:  AlexGhitza
       Type:  defect     |      Status:  new       
   Priority:  minor      |   Milestone:  sage-4.6  
  Component:  algebra    |    Keywords:            
     Author:  David Roe  |    Upstream:  N/A       
   Reviewer:             |      Merged:            
Work_issues:             |  
-------------------------+--------------------------------------------------
 `mod(0,1).crt(mod(a, n))` raises a `ZeroDivisionError` if and only if `n
 >= 2^31-1`.

 {{{
 sage: mod(0,1).crt(mod(4,2^31-2))
 4
 sage: mod(0,1).crt(mod(4,2^31-1))
 ---------------------------------------------------------------------------
 ZeroDivisionError                         Traceback (most recent call
 last)
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10047>
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