Hi, On Sun, Jul 24, 2011 at 12:23 AM, Aaron Meurer <asmeu...@gmail.com> wrote: > Note that Float(1) is not the same as Float(1.0). Fredrik or someone > else would have to explain the details, but I think the reasoning > behind Float(int) => Integer is something related to precision.
Right, sorry, I should have added that: sympy.Float(1.0) == sympy.numbers.One() > Also, as the commit message notes, there is the following > inconsistency in 0.6.7: > > In [1]: -1.0*x > Out[1]: -1.0⋅x > > In [2]: 1.0*x > Out[2]: x To me, that inconsistency is a benefit. Is there some disbenefit? I'm asking honestly. For me it is just a question of reduced readability in doctests and examples. Cheers, Matthew -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.