Comment #9 on issue 1769 by asmeu...@gmail.com: cos(oo) should return nan
http://code.google.com/p/sympy/issues/detail?id=1769

This comes up with a bunch of functions, actually. If evaluation at oo is not specifically defined in eval(), it is left alone. This leads to a lot of wrong results if people use subs instead of limit

In [76]: factorial(oo)
Out[76]: (∞)!

In [77]: limit(exp(x)/factorial(x),x, oo)
Out[77]: 0

In [78]: (exp(x)/factorial(x)).subs(x, oo)
Out[78]: ∞

Should we special case functions evaluated at oo in Mul and Pow (Function._eval_power)? How would that affect performance?

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy-issues+unsubscr...@googlegroups.com.
To post to this group, send email to sympy-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to