Comment #17 on issue 2052 by [email protected]: is_zero should default
to None, not False
http://code.google.com/p/sympy/issues/detail?id=2052
What is the GCI task supposed to be here?
In any case, this is not an issue with defaults. is_zero returns False
because evalf-ing the expression returns something that isn't considered
equal to zero:
In [2]: e = -3 - sqrt(5) + (-sqrt(10)/2 - sqrt(2)/2)**2
In [3]: e.is_zero
Out[3]: False
In [4]: e.evalf()
Out[4]: -.0e-124
In [5]: e.evalf() == 0
Out[5]: 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.