Math irregularity ... is this normal?
Some One Else
nospam at any.time
Thu Jul 4 20:10:05 EDT 2002
Hello!
I just compiled and installed Python 2.2.1 on Linux-Mandrake 8.0. When I
do the following:
>>> 2/5.0
0.40000000000000002
In 'Learning Python', a similar example says I should get the more logical
answer of 0.4. Did I install something wrong? I can see where this could
result in creeping math errors.
Thanks!
(respond to group -- not despammed email)
More information about the Python-list
mailing list