When differentiating elements of power series rings, I do not get the 
expected result. Below is a minimal example:

R.<x> = PowerSeriesRing(SR)
f = 1 + O(x^2)
f.derivative(1)
f.derivative(2)
f.derivative(3)

The first derivative gives `O(x^1)` as expected and similarly the second 
gives `O(x^0)`. However, the third derivative, rather than giving `O(x^0)` 
again as expected, gives `O(x^{-1})`. Is this a bug or is this the desired 
behaviour for some reason?

Note: as well as my local installation, I was able to reproduce this bug on 
SageMath Cloud.

(I apologise if I'm doing something stupid as I'm only newly trying to 
switch to Sage from Mathematica.)

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to