Python compilers?

Svein Ove Aas svein+usenet01 at brage.info
Tue May 18 16:45:46 EDT 2004


Mitja wrote:

> 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 :)

Only for infinite counts of '9', and computers don't do infinity.



More information about the Python-list mailing list