[sage-devel] incorrect behavior of residue for p-adics

2018-07-18 Thread srozensz
Hello, I'm running Sage 8.2 and this is what I have observed: sage: R = Zp(3,type = 'fixed-mod', prec = 5) sage: S. = R[] sage: W. = R.extension(t^2-3) sage: w.residue() 1 the output here should be 0. The bug also appears with ZpCA(3,5) instead of Zp(3,type = 'fixed-mod', prec = 5), but the ou

[sage-devel] 0^0 in unramified extensions of Zp

2016-01-22 Thread srozensz
Hello, I have noticed an unexpected behavior when trying to evaluate 0^0 in unramified extensions of Zp. Here is an example: sage: A. = Zq(4) sage: A(0)^0 O(2^0) Compare with: sage: B = Zp(2) sage: B(0)^0 1 + O(2^20) I am using Sage 6.10 on MacOS X version 10.11. -- You received this me