|
|
clipka wrote:
> Business doesn't give a damn about high precision, as long as rounding rules are
> precisely followed.
That too. And you can't follow the rounding rules with floats. But if you
add up ten dimes, it better come out to a dollar. Whether you do that with
rounding or with decimal arithmetic, it doesn't matter much, but it's much
easier to know it works if you use decimal arithmetic.
One of the mainframes I first worked on has the "Scientific Computing Unit"
(floating point) and the "Business Computing Unit" (decimal arithmetic and
output formatting) as optional coprocessors.
--
Darren New, San Diego CA, USA (PST)
There's no CD like OCD, there's no CD I knoooow!
Post a reply to this message
|
|