Issue 991: Failure in trivial limit (limit(log(x)/(x**2+pi), x, 2))
http://code.google.com/p/sympy/issues/detail?id=991

Comment #24 by ondrej.certik:
This was fixed. Tests are here:

http://git.sympy.org/?p=sympy.git;a=commit;h=f98a86c7945e332c083ea447c8d479127ff38d15
http://git.sympy.org/?p=sympy.git;a=commit;h=a30e73bab76b60fd30f0420df250982801de6455

In [1]: limit(log(x)/(x**2+3), x, 2)
Out[1]:
log(2)
──────
   7

In [2]: limit(log(x)/(x**2+pi), x, 2)
Out[2]:
log(2)
──────
4 + π

In [3]: limit(1/(x+3), x, 2)
Out[3]: 1/5

In [4]: limit(1/(x+pi), x, 2)
Out[4]:
   1
─────
2 + π

In [5]: (1/(2+pi+x)).nseries(x, 0, 5)
Out[5]:
             4          3          2
   1        x          x          x          x
───── + ──────── - ──────── + ──────── - ──────── + O(x**5)
2 + π          5          4          3          2
         (2 + π)    (2 + π)    (2 + π)    (2 + π)


In [6]: (2+pi+x).as_leading_term(x)
Out[6]: 2 + π

In [7]: (2*x**3+pi*x**3).as_coeff_exponent(x)
Out[7]: (2 + π, 3)




Issue attribute updates:
        Status: Fixed

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to