floating point glitch

Paul Rubin http
Thu Sep 23 11:36:23 CEST 2004


David O'Farrell <David.OFarrell at ericsson.com> writes:
> Is this only on solaris ?

No, it's inherent in how floating point conversions work.  It happens
on all IEEE 754 machines.  You don't need that fancy list-append stuff
to see it happen.  Just type

>>> 66.6
66.599999999999994




More information about the Python-list mailing list