Python compilers?

Mitja tezt at email.si
Tue May 18 16:39:04 EDT 2004


Thorsten Kampe <thorsten at thorstenkampe.de>
(news:1mklty031ke5a.dlg at thorstenkampe.de) wrote:
> * 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
>

Even worse....
0.999999999999999999999... is exactly 1 :)


> Thorsten





More information about the Python-list mailing list