Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site gloria.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!rochester!rocksanne!sunybcs!gloria!colonel From: colonel@gloria.UUCP (George Sicherman) Newsgroups: net.lang.c Subject: Re: BCD for accountants Message-ID: <692@gloria.UUCP> Date: Tue, 20-Nov-84 11:38:29 EST Article-I.D.: gloria.692 Posted: Tue Nov 20 11:38:29 1984 Date-Received: Sun, 25-Nov-84 08:46:31 EST References: <105@ISM780B.UUCP> <869@ihuxn.UUCP> <904@umcp-cs.UUCP> Organization: SUNY-Buffalo Confuser Science Lines: 11 [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