Rounding Bug in Python 2.0! - ugh

Moshe Zadka moshez at math.huji.ac.il
Wed Nov 1 13:00:15 EST 2000


On Wed, 1 Nov 2000, Pete Forman wrote:

> The criteria that I'm looking to satisfy are:
> 
>   1) Round trip - reading a written number should give the same result
>   2) Write the minimum number of digits - drop trailing zeros/nines

Unfortunately, it's not well defined if you won't cross-computer
round-trip. And you better believe that it's needed -- if you write out
your data file, you might want to read it on a computer in your home too.

life-just-sucks-ly y'rs, Z.
--
Moshe Zadka <moshez at math.huji.ac.il> -- 95855124
http://advogato.org/person/moshez





More information about the Python-list mailing list