Comment #1 on issue 3446 by [email protected]: interactions with Float(0.0)
http://code.google.com/p/sympy/issues/detail?id=3446
These (related examples) should also probably give 0.0
>>> Float(1.0) * Float('0.0')
0
>>> Integer(1) * Float('0.0')
0
I agree with your suggestions. In Mathematica:
In[1]:= 0. x
Out[1]= 0.
In[2]:= x + 0.
Out[2]= 0. + x
In[3]:= 1 + 0.0
Out[3]= 1.
--
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.