Python compilers?

Thorsten Kampe thorsten at thorstenkampe.de
Tue May 18 11:57:07 EDT 2004


* Tor Iver Wilhelmsen (2004-05-18 17:26 +0100)
> Grant Edwards <grante at visi.com> writes:
> 
>> Dude, didn't you take high-school math?  1/3 _is_ 0.33333...
> 
> No, because at some point you will stop writing 3's, either out of
> boredom, exhaustion or because you need to pee. At that instant, you
> introduce a rounding error, making 3 * 1/3 = 0.99999999999... instead
> of 1.0

Must have been a long time since you went to school... 1/3 is
/exactly/ 0.3...: http://mathworld.wolfram.com/RepeatingDecimal.html

Thorsten



More information about the Python-list mailing list