Oh, yeah that's definitely a bug.

Aaron Meurer

On Wed, Dec 4, 2013 at 1:43 PM, Sergey B Kirpichev <[email protected]> wrote:
> On Wed, Dec 04, 2013 at 11:11:31AM -0700, Aaron Meurer wrote:
>> I just checked evalf and it returns the right answers, inf and -inf.
>> So apparently it's smarter than I had thought.
>
> In [1]: r1 = x**3 - 3*x
> In [2]: r2 = -x - 1
> In [3]: r1.evalf(subs={x: oo})
> Out[3]: +inf
>
> But the second case:
> In [4]: r2.evalf(subs={x: oo})
> Out[4]: +inf
>
> --
> 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.

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