I'm having an issue with converting between p-adic and rational
numbers.

Specifically, there are certain p-adic numbers that I cannot convert
to rationals. As an example, if 1+7^3+O(7^5) is a 7-adic integer with
capped relative precision 5, I cannot convert it to a rational. I get
the error "ValueError: Rational reconstruction of 344 (mod 16807) does
not exist."

More generally, it seems that if the precision of the p-adic number is
O(p^n), and the p-adic number includes powers of p greater than n/2,
the number cannot be converted to a rational.

Any info is appreciated. Thanks!

-- 
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-support
URL: http://www.sagemath.org

Reply via email to