On Fri, Sep 06, 2013 at 05:28:05PM +0200, Joachim Durchholz wrote: > >1/2 is not an exact fraction. > > 0.5f does happen to be the exact fraction for 1/2.
Yes. 1/2 = 0.5f (in python 2 we use "from __future__ import division"). And no, 0.5f is not an exact number, it's a float. -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. For more options, visit https://groups.google.com/groups/opt_out.
