Lenka Viskotova found a bug in evaluating limits in Sage. Evaluating
limits via Maxima may return complex infinity or real ininity. Sage
does not distinguish between them. As a consequence, limit(1/x,x=0) is
wrong.
I was not able to find report on this and thus reported this as
http://trac.sagemath.org/sage_trac/ticket/8237
A quick fix could be to return NaN if maxima returns "infinity" and
+Infinity if maxima returns "inf". But I think that similar problem
may appear in other commands as well. Any idea how to distinguish real
and complex ininifty in Sage?
Thanks
Robert Marik