Comment #20 on issue 3086 by [email protected]: round() function overrides
built-in
http://code.google.com/p/sympy/issues/detail?id=3086
There is a sympy object, Number, from which Float, Integer, Rational and
+/-Infinity derive. Things which evaluate to a Number are not necessarily
Numbers themselves, e.g. `sqrt(3) + 2` is an Add object, not within the
scope of (not an instance of) Number.
>>> sqrt(3).is_number
True
>>> sqrt(3).is_Number
False
--
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.