#12625: Conversion of pari elements to Sage fails on some negative valuation
elements
-----------------------------+----------------------------------------------
   Reporter:  roed           |          Owner:  roed      
       Type:  defect         |         Status:  needs_work
   Priority:  major          |      Milestone:  sage-5.0  
  Component:  padics         |       Keywords:            
Work_issues:                 |       Upstream:  N/A       
   Reviewer:  Xavier Caruso  |         Author:  David Roe 
     Merged:                 |   Dependencies:            
-----------------------------+----------------------------------------------
Changes (by caruso):

  * status:  needs_review => needs_work
  * reviewer:  => Xavier Caruso


Comment:

 I propose to modify the function padicprec() so that it computes itself
 the underlying prime number. Currently, one have:

 {{{
 sage: K = Qp(11,5)
 sage: x = K(5)
 sage: x
 5 + O(11^5)
 sage: y = pari(x)
 sage: y.padicprec(11)
 5
 sage: y.padicprec(17)
   ***   not the same prime in padicprec.
   ***   Error in the PARI system. End of program.
 }}}

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