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
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):
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
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
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.
-
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
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
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)