Weird result returned from adding floats depending on order I add them

John Machin sjmachin at lexicon.net
Tue Feb 20 16:13:55 EST 2007


On Feb 21, 3:44 am, Grant Edwards <gra... at visi.com> wrote:
> On 2007-02-20, John Machin <sjmac... at lexicon.net> wrote:
>
> > On Feb 21, 2:05 am, Grant Edwards <gra... at visi.com> wrote:
> >> On 2007-02-20, joanne matthews (RRes-Roth) <joanne.matth... at bbsrc.ac.uk> wrote:
>
> >> Don't use floating point if you expect exact results.
>
>
> > Another take: Don't expect exact results.
>
> Which is what I said.  :)

It may well be what you said. I didn't hear that. What you wrote was
"Don't use floating point if you expect exact results." That is *not*
the same as "Don't expect exact results".






More information about the Python-list mailing list