#11856: Raise an overflow error if the exponent of a multivariate polynomial 
flows
over
-----------------------------------+----------------------------------------
   Reporter:  SimonKing            |          Owner:  malb             
       Type:  defect               |         Status:  needs_review     
   Priority:  critical             |      Milestone:  sage-4.7.2       
  Component:  commutative algebra  |       Keywords:  exponent overflow
Work_issues:                       |       Upstream:  N/A              
   Reviewer:                       |         Author:  Simon King       
     Merged:                       |   Dependencies:                   
-----------------------------------+----------------------------------------

Comment(by SimonKing):

 The latest patch version checks ''both'' whether the exponent exceeds
 max_exponent_size (which avoids some bugs that occur in Singular) ''and''
 whether it is illegal in Singular (which avoids the bugs in Sage that led
 to the creation of this ticket).

 We now have
 {{{
         sage: x^2^30*x^2^30
         Traceback (most recent call last):
         ...
         OverflowError: Exponent overflow (2147483648).
 }}}

 I wonder whether the test, that became more expensive, led to an
 inacceptable speed regression. That should be investigated.

 The tests in sage/rings/polynomial pass for me. I don't know about the
 rest. Needs review!

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