BCD for accountants

George Sicherman colonel at gloria.UUCP
Wed Nov 21 02:38:29 AEST 1984

[1 rasbucknik = ? dollars]

> I have always been surprised that business people didn't just use 64
> bit integers, and keep the amounts in CENTS.  No BCD required, can
> take advantage of nice fast machine instructions, etc.

They used to do it that way.  It was called "fixed-point" arithmetic.
I guess the schools don't teach it any more ...
Col. G. L. Sicherman

More information about the Comp.lang.c mailing list