Re: Issue 1015 in sympy: limit((1+x/(n+sin(n)))**n,n,oo) doesn't work

2013-11-30 Thread sympy
Comment #17 on issue 1015 by gupta.ha...@gmail.com: limit((1+x/(n+sin(n)))**n,n,oo) doesn't work http://code.google.com/p/sympy/issues/detail?id=1015 I think returning Interval(-1,1) for sin(oo) combined with interval arithmetic will solve this issue. Because

Re: Issue 1015 in sympy: limit((1+x/(n+sin(n)))**n,n,oo) doesn't work

2013-11-24 Thread sympy
Updates: Labels: NeedsReview Comment #16 on issue 1015 by skirpic...@gmail.com: limit((1+x/(n+sin(n)))**n,n,oo) doesn't work http://code.google.com/p/sympy/issues/detail?id=1015 I only mentioned that because it's nice to agree with Python whenever possible I don't think that it's

Re: Issue 1015 in sympy: limit((1+x/(n+sin(n)))**n,n,oo) doesn't work

2013-11-21 Thread sympy
Comment #15 on issue 1015 by asmeu...@gmail.com: limit((1+x/(n+sin(n)))**n,n,oo) doesn't work http://code.google.com/p/sympy/issues/detail?id=1015 I only mentioned that because it's nice to agree with Python whenever possible (since one of the SymPy design principles is to use Python

Re: Issue 1015 in sympy: limit((1+x/(n+sin(n)))**n,n,oo) doesn't work

2013-11-18 Thread sympy
Updates: Labels: WrongResult Comment #14 on issue 1015 by skirpic...@gmail.com: limit((1+x/(n+sin(n)))**n,n,oo) doesn't work http://code.google.com/p/sympy/issues/detail?id=1015 (No comment was entered for this change.) -- You received this message because this project is configured

Re: Issue 1015 in sympy: limit((1+x/(n+sin(n)))**n,n,oo) doesn't work

2013-11-17 Thread sympy
Comment #10 on issue 1015 by trel...@yahoo.com: limit((1+x/(n+sin(n)))**n,n,oo) doesn't work http://code.google.com/p/sympy/issues/detail?id=1015 (8) still returns 1. As far as I can tell, the issue appears to be that gruntz fails, and the heuristic tries 1**oo, which it takes as 1. My

Re: Issue 1015 in sympy: limit((1+x/(n+sin(n)))**n,n,oo) doesn't work

2013-11-17 Thread sympy
Comment #11 on issue 1015 by asmeu...@gmail.com: limit((1+x/(n+sin(n)))**n,n,oo) doesn't work http://code.google.com/p/sympy/issues/detail?id=1015 I agree. 1**oo is a classic indeterminate. It doesn't agree with Python floats, which set 1**float('inf') to be 1.0, but I think that's fine.

Re: Issue 1015 in sympy: limit((1+x/(n+sin(n)))**n,n,oo) doesn't work

2013-11-17 Thread sympy
Comment #12 on issue 1015 by trel...@yahoo.com: limit((1+x/(n+sin(n)))**n,n,oo) doesn't work http://code.google.com/p/sympy/issues/detail?id=1015 I see IEEE 754 has been envoked as justification for 1**nan == 1. IEEE 754 is a floating-point standard. 1**nan seems reasonable for floats to

Re: Issue 1015 in sympy: limit((1+x/(n+sin(n)))**n,n,oo) doesn't work

2013-04-26 Thread sympy
Comment #8 on issue 1015 by asmeu...@gmail.com: limit((1+x/(n+sin(n)))**n,n,oo) doesn't work http://code.google.com/p/sympy/issues/detail?id=1015 This is because SymPy Live uses future integer division and your session wasn't. It's best to avoid integer/integer like that. Just use f = (1 +

Re: Issue 1015 in sympy: limit((1+x/(n+sin(n)))**n,n,oo) doesn't work

2013-04-26 Thread sympy
Comment #9 on issue 1015 by paanini@gmail.com: limit((1+x/(n+sin(n)))**n,n,oo) doesn't work http://code.google.com/p/sympy/issues/detail?id=1015 The incorrect output in both (7) and (8) occur because of the default integer division in Python 2. This causes the expression in the

Re: Issue 1015 in sympy: limit((1+x/(n+sin(n)))**n,n,oo) doesn't work

2013-04-07 Thread sympy
Comment #6 on issue 1015 by gra...@gmail.com: limit((1+x/(n+sin(n)))**n,n,oo) doesn't work http://code.google.com/p/sympy/issues/detail?id=1015 Currently both (7) and (8) return incorrect answer. For (7), even gruntz returns an incorrect value of 1. For (8), gruntz raises a PoleError

Re: Issue 1015 in sympy: limit((1+x/(n+sin(n)))**n,n,oo) doesn't work

2012-05-23 Thread sympy
Comment #5 on issue 1015 by smi...@gmail.com: limit((1+x/(n+sin(n)))**n,n,oo) doesn't work http://code.google.com/p/sympy/issues/detail?id=1015 FYI, the current result is 1: limit((1+x/(n+sin(n)))**n,n,oo) 1 -- You received this message because you are subscribed to the Google Groups

Re: Issue 1015 in sympy: limit((1+x/(n+sin(n)))**n,n,oo) doesn't work

2011-09-01 Thread sympy
Updates: Summary: limit((1+x/(n+sin(n)))**n,n,oo) doesn't work Labels: -WrongResult Series Comment #4 on issue 1015 by asmeurer: limit((1+x/(n+sin(n)))**n,n,oo) doesn't work http://code.google.com/p/sympy/issues/detail?id=1015 (No comment was entered for this change.) -- You