[TAG] Paul Sephton's article "A Question Of Rounding"
Thomas Adam
thomas at edulinux.homeunix.org
Thu Oct 4 00:52:00 MSD 2007
On Wed, Oct 03, 2007 at 03:47:28PM -0500, Ben Okopnik wrote:
> On Wed, Oct 03, 2007 at 10:04:15PM +0200, Ren?? Pfeiffer wrote:
> >
> > Floating point numbers aren't exact.
>
> [blink] Pardon my ignorance, but... what's the use of them, then?
> Particularly since the rounding can happen (essentially arbitrarily) in
> any direction?
Indeed. I'm reminded of this:
http://en.wikipedia.org/wiki/0.999...
We should go back to using whole numbers. Much easier. :)
-- Thomas Adam
--
"He wants you back, he screams into the night air, like a fireman going
through a window that has no fire." -- Mike Myers, "This Poem Sucks".
More information about the TAG
mailing list