4 hundred quadrillonth?
grante at visi.com
Fri May 22 01:09:57 CEST 2009
On 2009-05-21, Christian Heimes <lists at cheimes.de> wrote:
> seanm.py at gmail.com schrieb:
>> The explaination in my introductory Python book is not very
>> satisfying, and I am hoping someone can explain the following to me:
>>>>> 4 / 5.0
>> 4 / 5.0 is 0.8. No more, no less. So what's up with that 4 at the end.
>> It bothers me.
> Welcome to IEEE 754 floating point land! :)
Floating point is sort of like quantum physics: the closer you
look, the messier it gets.
More information about the Python-list