Sometime the monkey looks at the moon instead of the finger. Sorry for this not-a-question of the weekend.
Thanks. 2014-09-14 16:13 GMT+02:00 William A Stein <[email protected]>: > On Sun, Sep 14, 2014 at 3:01 AM, Christophe Bal <[email protected]> > wrote: > > Hello. > > > > Is there a ready ti use function that can give a truncated version of the > > representation in base 2 of a decimal number ? > > (0.1 + 0.3).str(base=2) > > > > > This is only to explain why print(0.1 + 0.3) fails with Python3. > > > > Christophe > > > > -- > > You received this message because you are subscribed to the Google Groups > > "sage-support" 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/sage-support. > > For more options, visit https://groups.google.com/d/optout. > > > > -- > William Stein > Professor of Mathematics > University of Washington > http://wstein.org > [email protected] > > -- > You received this message because you are subscribed to the Google Groups > "sage-support" 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/sage-support. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sage-support" 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/sage-support. For more options, visit https://groups.google.com/d/optout.
