Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-lcc!styx!ames!ucbcad!ucbvax!ucdavis!uop!exodus From: exodus@uop.UUCP (Greg Onufer) Newsgroups: comp.lang.c,comp.sources.wanted Subject: Any-length numbers Message-ID: <139@uop.UUCP> Date: Thu, 19-Mar-87 01:18:23 EST Article-I.D.: uop.139 Posted: Thu Mar 19 01:18:23 1987 Date-Received: Sat, 21-Mar-87 03:55:49 EST Organization: University of the Pacific, Stockton, California, USA Lines: 30 Xref: mnetor comp.lang.c:1286 comp.sources.wanted:801 **************************************************** Wanted: C BCD routines for any-length numbers!!!! Does anybody have short & sweet routines for adding, subtracting, multiplying, and dividing packed (or unpacked) BCD digits stored in C unsigned char arrays? [Packed: 2 BCD digits per byte] Any help would be greatly appreciated. Thanx in advance... Send responses through mail or Snailmail only... -------------------------------------------------------------------------------- | The secret to flying is jumping and missing the ground... | | -Hitchhiker's Guide to the Universe | |..............................................................................| | Greg Onufer (EXODUS) | | Mail: University of the Pacific, Casa Jackson #311, Stockton, CA 95211 | | UUCP: ...ucdavis!uop!exodus | | Voice: (209) 944-7484 | -------------------------------------------------------------------------------- -- -------------------------------------------------------------------------------- | The secret to flying is jumping and missing the ground... | | -Hitchhiker's Guide to the Universe | |..............................................................................| | Greg Onufer (EXODUS) | | Mail: University of the Pacific, Casa Jackson #311, Stockton, CA 95211 | | UUCP: ...ucdavis!uop!exodus | | Voice: (209) 944-7484 | --------------------------------------------------------------------------------