#8198: p-adic precision in vector multiplication
------------------------+---------------------------------------------------
   Reporter:  wuthrich  |       Owner:  roed         
       Type:  defect    |      Status:  new          
   Priority:  major     |   Milestone:  sage-4.5.2   
  Component:  padics    |    Keywords:  padics vector
     Author:            |    Upstream:  N/A          
   Reviewer:            |      Merged:               
Work_issues:            |  
------------------------+---------------------------------------------------
Changes (by niles):

 * cc: niles (added)


Comment:

 I found this bug also, while working on #9457.  After a fair bit of
 struggling with elliptic curve code, I now think this is a significant
 part of the problem.

 I noticed the following also; I can't tell if it's the same bug or not.
 {{{
 sage: R = QQ.completion(5,5)
 sage: P.<T> = R[]
 sage: Q.<T> = R[[]]
 sage: P(R(0).add_bigoh(-1))
 (O(5^-1))
 sage: Q(R(0).add_bigoh(-1))
 0
 sage: P(R(0).add_bigoh(2))
 (O(5^2))
 sage: Q(R(0).add_bigoh(2))
 0
 sage: Q(R(1).add_bigoh(2))
 1 + O(5^2)
 sage: Q(R(1).add_bigoh(-1))
 0
 sage: Q(R(1/25).add_bigoh(-1))
 5^-2 + O(5^-1)
 }}}

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