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

Right now we have

In [7]: 2.0 == 2
Out[7]: True

In [8]: S(2.0) == S(2)
Out[8]: True

In [9]: x**2.0 == x**2
Out[9]: True

In [14]: x**2.0 - x**2
Out[14]:
   2    2.0
- x  + x

In [20]: 1.0 == 1
Out[20]: True

In [21]: S(1.0) == S(1)
Out[21]: True

In [22]: x**1.0 == x**1
Out[22]: False

In [23]: x**1.0 - x
Out[23]:
      1.0
-x + x

So this is very inconsistant.

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