a = rule.evalf(subs={x: inter.end})
a = rule.subs({x: inter.end}).evalf()

quieston is why this 2 lines gives 2 different ways of calculation infinity?

like I'd eval x**3 - 3*x, where x = +-oo.

First line will give me exactly what I want: +-infinity, and the second one 
will give me nan for both value.

I'd like to use first line everytime, but fun thing:

If I have -x-1 and will eval it for -oo, answer is -oo, for +oo --  +oo. 
The second one evals it correctly.

Why does it happen?

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to