banking&FP

Gideon Yuval uunet!microsoft.com!gideony
Thu Oct 8 11:49:02 PDT 1992


You don't have try very hard before bankers can get surprised:

On any spreadsheet handy, start with $18.12, subtract $10, then $8,
then 10 cents, then 2 cents.

(1) Can you explain the result to your friendly neighbourhood banker?

(2) (harder!) Can you _justify_ the result to your friendly
neighbourhood banker?

N.B. It is easy to make the result _look_ right, by "appropriate"
formatting; but you then get a number that looks like a zero, but is not one.
----------
From: M. Douglas McIlroy  <netmail!dougaresearch.att.com>
To:  <validgh!numeric-interestauunet.UU.NET>
Date: Tuesday, October 06, 1992 12:04PM

Contrary to rumor, bankers often use floating point.
... ... ...




More information about the Numeric-interest mailing list