Updates:
Labels: evalf
Comment #9 on issue 3068 by [email protected]: incorrect sign calculated
http://code.google.com/p/sympy/issues/detail?id=3068
see also issue 3052 and consider this example:
>>> e
-pi**1000*(sin(x)**2 + cos(x)**2) + pi**(-1500) + pi**1000
>>> simplify(e)
pi**(-1500)
>>> sign(_)
1 <======= that's right
>>> e.subs(x,1) # it shouldn't matter what we substitute for x
pi**(-1500) - pi**1000*(cos(1)**2 + sin(1)**2) + pi**1000
>>> sign(_)
-1 <======== that's wrong
--
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.