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

New issue 3001 by [email protected]: a**1.0 != a
http://code.google.com/p/sympy/issues/detail?id=3001

`a**1.0 != a` not because of 1.0 != 1 but because a Pow is not the
same thing as a symbol...but considering the following, I think that a
special check for equality of Pow with other should check for a 1.0
exponent:

   >>> a**2.0 == a**2
   True
   >>> a**1.5 == sqrt(a)**3
   True

So the only thing holding back the `a**1.0` from equaling the `a` is
the fact that it doesn't consider that the Pow may have an exponent of
1.0.

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