Hi,

2010/4/8 Benoit Daloze <eregontp / gmail.com>:
> So, double have a range (between two of them) of 2e-52 ~ 10e-16. Should we then round at
> 15~16 digits ?


There is no silver bullet against floating point error :-)

  "%.15f" % (1.9 + 0.7 - 0.2)  #=> "2.399999999999999"

-- 
Yusuke ENDOH <mame / tsg.ne.jp>