Issue 3038 in sympy: sign change in evalf of complex value as precision is increased

2012-02-02 Thread sympy
Status: Accepted Owner: Labels: Type-Defect Priority-Medium New issue 3038 by smi...@gmail.com: sign change in evalf of complex value as precision is increased http://code.google.com/p/sympy/issues/detail?id=3038 There seems to be something strange going on with the evaluation of these r

Re: Issue 3038 in sympy: sign change in evalf of complex value as precision is increased

2012-03-11 Thread sympy
Updates: Labels: WrongResult Comment #1 on issue 3038 by asmeu...@gmail.com: sign change in evalf of complex value as precision is increased http://code.google.com/p/sympy/issues/detail?id=3038 I get the same thing, except the other roots change sign: In [18]: for i in range(1,10):

Re: Issue 3038 in sympy: sign change in evalf of complex value as precision is increased

2012-03-14 Thread sympy
Updates: Labels: -Priority-Medium Priority-High Comment #2 on issue 3038 by smi...@gmail.com: sign change in evalf of complex value as precision is increased http://code.google.com/p/sympy/issues/detail?id=3038 Here is another symptom, perhaps. Substitution of two forms of an express

Re: Issue 3038 in sympy: sign change in evalf of complex value as precision is increased

2012-03-15 Thread sympy
Updates: Labels: -Priority-High Priority-Medium Comment #3 on issue 3038 by smi...@gmail.com: sign change in evalf of complex value as precision is increased http://code.google.com/p/sympy/issues/detail?id=3038 Perhaps this is a problem that can't be fixed. Consider The sign of the m

Re: Issue 3038 in sympy: sign change in evalf of complex value as precision is increased

2012-03-15 Thread sympy
Comment #4 on issue 3038 by smi...@gmail.com: sign change in evalf of complex value as precision is increased http://code.google.com/p/sympy/issues/detail?id=3038 Comment 2's issue is a symptom of issue 3109 (Mul._eval_power). Once that is corrected, 0 is obtained from both expressions. -

Re: Issue 3038 in sympy: sign change in evalf of complex value as precision is increased

2012-03-17 Thread sympy
Updates: Labels: Evalf Comment #5 on issue 3038 by smi...@gmail.com: sign change in evalf of complex value as precision is increased http://code.google.com/p/sympy/issues/detail?id=3038 (No comment was entered for this change.) -- You received this message because you are subscribed

Re: Issue 3038 in sympy: sign change in evalf of complex value as precision is increased

2013-02-28 Thread sympy
Comment #7 on issue 3038 by smi...@gmail.com: sign change in evalf of complex value as precision is increased http://code.google.com/p/sympy/issues/detail?id=3038 Just a note: it's interesting to note that `v` of comment 2 can be shown to have a zero for the imaginary part with: expand(i

Re: Issue 3038 in sympy: sign change in evalf of complex value as precision is increased

2013-03-10 Thread sympy
Comment #8 on issue 3038 by smi...@gmail.com: sign change in evalf of complex value as precision is increased http://code.google.com/p/sympy/issues/detail?id=3038 Just confirming that the issues of comment 2 have been fixed already: f = 5*sqrt(x) + 5*sqrt(-x + 1) + 5*sqrt(x + 1) - 6*sqrt(5)