Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2248 by [email protected]: Operator == not symmetric for Real and others
http://code.google.com/p/sympy/issues/detail?id=2248

Currently

(2*pi) == (2*pi).evalf()
False
(2*pi).evalf() == (2*pi)
True

Similarly for e.g. cos(0.1, evaluate=False) in place of 2*pi.


Real.__eq__ does too much magic.
[patch follows]

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

Reply via email to