On May 18, 2:26 pm, Matt Bainbridge <[email protected]> wrote:
> Is this a bug?
>
> sage: P.<t> = QQ[[]]
> sage: p = 1+O(t)
> sage: p(t)
> 1
> sage: p(t^2)
> 1
>
> My understanding is that p(q) is p composed with q, so the above
> output should be 1 + O(t) and 1 + O(t^2) respectively.
>

I think it is a bug.
sage: p.prec()
1
sage: p(t).prec()
+Infinity
sage: p(t^2).prec()
+Infinity

The precision of the composite is not being computed correctly.  I
hope someone more familiar with the power series code will jump in at
this point.

John Cremona


> --
> 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 
> athttp://groups.google.com/group/sage-support
> URL:http://www.sagemath.org

-- 
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