[net.lang.c] BCD for accountants

colonel@gloria.UUCP (George Sicherman) (11/20/84)

[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
...seismo!rochester!rocksanne!rocksvax!sunybcs!gloria!colonel