Re: [sage-support] Error: Converting from p-adics to rationals.

2011-05-26 Thread William Stein
On Wed, May 25, 2011 at 5:53 PM, Mel wrote: > 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

[sage-support] Error: Converting from p-adics to rationals.

2011-05-25 Thread Mel
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 "Value