#5499: [with patch; needs work] Wrong precision when creating p-adic field 
element
---------------------------+------------------------------------------------
 Reporter:  kedlaya        |       Owner:  was       
     Type:  defect         |      Status:  new       
 Priority:  major          |   Milestone:  sage-3.4.2
Component:  number theory  |    Keywords:            
---------------------------+------------------------------------------------

Comment(by kedlaya):

 I was originally unsure whether this was simply because those doctests
 depended on the old behavior. But in fact there is a real problem with the
 patch, as I extracted from the second file on Michael's list.
 {{{
 sage: E=EllipticCurve('389a1')
 sage: X,Y=E.modular_parametrization()
 sage: q = X.parent().gen()
 sage: E.defining_polynomial()(X,Y,1)
 869*q^11 + 2151*q^12 - 2768*q^13 + O(q^14)
 sage: E.defining_polynomial()(X,Y,1) + O(q^11)
 870*q^11 + 2151*q^12 - 2768*q^13 + O(q^14)
 }}}

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