Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!linus!philabs!cmcl2!seismo!brl-tgr!internet!GEACC022%TIMEVX%CITHEX@lbl.arpa From: GEACC022%TIMEVX%CITHEX@lbl.arpa Newsgroups: net.lang.c Subject: Re: C needs BCD Message-ID: <6025@brl-tgr.ARPA> Date: Fri, 23-Nov-84 06:22:28 EST Article-I.D.: brl-tgr.6025 Posted: Fri Nov 23 06:22:28 1984 Date-Received: Sat, 24-Nov-84 20:54:29 EST Sender: news@brl-tgr.ARPA Organization: Ballistic Research Lab Lines: 25 Received: from timevx by cithex with DECNET ; Fri, 23 Nov 84 03:21:28 PST Date: Fri, 23 Nov 84 03:22:27 PST From: geacc022 (gary e. ansok) @ timevx Message-Id: <841123032155.001@timevx> Subject: Re: C needs BCD To: info-c @ BRL-TGR.ARPA ][ is possibly a trademark of the Apple people >> >> 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. I think he meant 6 nibbles = 3 bytes = 24 bits. ----- All the world loves a straight man. Gary Ansok geacc022%timevx%cithex @ lbl-g.arpa