1 | initial version |
PARI/GP support $p$-aic numbers with non-prime $p$:
a = gp('1+O(10^3)')
print(a+100)
2 | No.2 Revision |
PARI/GP support $p$-aic supports $p$-adic numbers with non-prime $p$:
This can be used inside Sage:
sage: a = gp('1+O(10^3)')
print(a+100)
gp('1 + O(10^3)')
sage: a
1 + O(10^3)
sage: a + 100
1 + 10^2 + O(10^3)