Bug in polynomial evaluation code

13 views
Skip to first unread message

micha...@gmail.com

unread,
Jan 15, 2015, 1:21:42 PM1/15/15
to sage-s...@googlegroups.com
Sage acts strange when it encouters infinity and constant polynomial.
Try this

sage: P.<x> = PolynomialRing(QQ)
sage: w = P(1)
sage: w(oo)
A positive finite number

While for nonconstant polynomial:

sage: v = x
sage: v(oo)
+Infinity
Reply all
Reply to author
Forward
0 new messages