#2956: generic multivariate polynomials are buggy on exponent overflow
------------------------------+---------------------------------------------
 Reporter:  cwitty            |        Owner:  somebody
     Type:  defect            |       Status:  new     
 Priority:  major             |    Milestone:  sage-3.2
Component:  basic arithmetic  |   Resolution:          
 Keywords:                    |  
------------------------------+---------------------------------------------
Comment (by zimmerma):

 For the 2nd example, I do not get a crash, but a funny result with 3.1.4
 on a 32-bit computer:
 {{{
 sage: K.<x,y> = ZZ[]
 sage: (x^12345)^54321
 x^28393*y^10232
 }}}
 Note that y does not appear in the input!

 Possible explanation: 12345*54321 = 10232*2^16+28393.
 Apparently the low 16 bits are used to store the exponent of x, and the
 upper 16 bits
 for the exponent of y, but no check for overflow is done!!!

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/2956#comment:2>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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