[Python-Dev] Re: Expert floats
tjreedy at udel.edu
Wed Mar 31 17:02:37 EST 2004
"Andrew Koenig" <ark-mlist at att.net> wrote in message
news:008401c4173a$82e7fc40$6402a8c0 at arkdesktop...
If I can enter a number as 0.1, printing that number as 0.1 does not
introduce any errors that were not already there, as proved by the fact
reading that 0.1 back will yield exactly the same value.
If I enter 1.1000000000000001, I am not sure I would necessarily be happy
if str() and repr() both gave the same highly rounded string representation
More information about the Python-Dev