#4296: univariate polynomial power ignores 2nd argument
------------------------------+---------------------------------------------
 Reporter:  zimmerma          |        Owner:  somebody
     Type:  defect            |       Status:  new     
 Priority:  critical          |    Milestone:  sage-3.4
Component:  basic arithmetic  |   Resolution:          
 Keywords:                    |  
------------------------------+---------------------------------------------
Comment (by mabshoff):

 Same for me:
 {{{
 ----------------------------------------------------------------------
 | Sage Version 3.2.2, Release Date: 2008-12-18                       |
 | Type notebook() for the GUI, and license() for information.        |
 ----------------------------------------------------------------------
 sage: R = PolynomialRing(GF(2), x)
 sage: f = R(x^9 + x^7 + x^6 + x^5 + x^4 + x^2 + x)
 sage: h = R(x^10 + x^7 + x^6 + x^5 + x^4 + x^3 + x^2 + 1)
 sage: (f^2) % h
 x^9 + x^8 + x^7 + x^5 + x^3
 sage: pow(f, 2, h)
 x^9 + x^8 + x^7 + x^5 + x^3
 sage:
 }}}
 Please add a doctest and once it has been merged we can close this ticket.

 Cheers,

 Michael

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