Updates:
Labels: WrongResult
Comment #1 on issue 3038 by [email protected]: 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):
... print [ri.n(i) for ri in r]
....:
[1.0 - 2.0*I, 1.0 + 2.0*I, 2.0 - 1.0*I, 2.0 + 1.0*I]
[1.0 + 1.7*I, 1.0 - 1.7*I, 2.0 - 1.0*I, 2.0 + 1.0*I]
[1.0 - 1.73*I, 1.0 + 1.73*I, 2.0 - 1.0*I, 2.0 + 1.0*I]
[1.0 - 1.732*I, 1.0 + 1.732*I, 2.0 - 1.0*I, 2.0 + 1.0*I]
[1.0 - 1.732*I, 1.0 + 1.732*I, 2.0 - 1.0*I, 2.0 + 1.0*I]
[1.0 - 1.73205*I, 1.0 + 1.73205*I, 2.0 - 1.0*I, 2.0 + 1.0*I]
[1.0 - 1.732051*I, 1.0 + 1.732051*I, 2.0 - 1.0*I, 2.0 + 1.0*I]
[1.0 - 1.7320508*I, 1.0 + 1.7320508*I, 2.0 - 1.0*I, 2.0 + 1.0*I]
[1.0 - 1.73205081*I, 1.0 + 1.73205081*I, 2.0 - 1.0*I, 2.0 + 1.0*I]
--
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.