Decimal numbers to not always have an exact representation in IEEE 754 floating point binary. Roundoff is expected and accepted. Websearch on "floating point round" will find much discussion.
If we're rounding in ways that don't agree with that spec, there's a problem... but I'd be shocked if that was the case.
______________________________________
"... Three things see no end: A loop with exit code done wrong,
A semaphore untested, And the change that comes along. ..."
-- "Threes" Rev 1.1 - Duane Elms / Leslie Fish (http://www.ovff.org/pegasus/songs/threes-rev-11.html)
- Error/Bug adding floating point numbers Daniel Thommes
- Re: Error/Bug adding floating point numbers keshlam
- RE: Error/Bug adding floating point numbers Timothy Jones