Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site gitpyr.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!gatech!gitpyr!robert From: robert@gitpyr.UUCP (Robert Viduya) Newsgroups: net.lang.c Subject: Re: C needs BCD -- why BCD? Accountants! Message-ID: <358@gitpyr.UUCP> Date: Mon, 19-Nov-84 07:56:18 EST Article-I.D.: gitpyr.358 Posted: Mon Nov 19 07:56:18 1984 Date-Received: Tue, 20-Nov-84 03:14:17 EST References: <105@ISM780B.UUCP> <869@ihuxn.UUCP>, <904@umcp-cs.UUCP> <4611@utzoo.UUCP> <1794@sun.uucp> Organization: Georgia Tech, Atlanta Lines: 16 > > space > There are a few cases where BCD actually uses less space than > simple binary: on most machines, +/-99,999 requires you to go > from 16 to 32 bits, but it fits in 6 bytes of BCD. > Uh, 6 bytes equals 48 bits on most machines. -- Robert Viduya Office of Computing Services Georgia Institute of Technology, Atlanta GA 30332 Phone: (404) 894-4669 ...!{akgua,allegra,amd,hplabs,ihnp4,masscomp,ut-ngp}!gatech!gitpyr!robert ...!{rlgvax,sb1,uf-cgrl,unmvax,ut-sally}!gatech!gitpyr!robert