Comment #24 on issue 1374 by [email protected]: simplify(x**2-x**2.0) does not yield 0.
http://code.google.com/p/sympy/issues/detail?id=1374

Is there any other rationale for 2.0 != 2 and x**2.0 != x**2 other than that 2.0 can be regarded as 2.01 rounded to two significant figures or the fact that other CASes have this ?

In python2, the common way to enter half is 0.5, so if I have to signify a square root, I do y=x**0.5, so I expect y**2 to give me back x neatly, and not some complicated expression. Even with the division modification in python3, the common way to enter half would be 1/2, this would still evaluate to 0.5.



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