[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: Rounding errors?
- From: "Ian Latham" <ilatham@...>
- Date: Wed, 18 Sep 2002 10:33:54 -0700
I don't know, I might expect some inaccuracy when I'm dealing with
numbers that have 8 or 9 significant digits, but being unable to
accurately represent a float to 2 decimal points seems ridiculously
inaccurate to me. That's why I wonder if it's just a bug in the tostring
From: Sean Middleditch [mailto:firstname.lastname@example.org]
Sent: Wednesday, September 18, 2002 10:23 AM
To: Multiple recipients of list
Subject: Re: Rounding errors?
Correct me if I'm wrong, but floating point values being an
approximation, this is rather normal. Computers do not accurately store
floating point values (at least on no architecture I've ever used).
This is why banking software is written with integer values only. ~,^