Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!bloom-beacon!oberon!cit-vax!ucla-cs!zen!ucbvax!ucdavis!uop!exodus From: exodus@uop.UUCP (Freddy Kreuger) Newsgroups: comp.sources.wanted Subject: Re: Multiple precision integer arithmetic Message-ID: <598@uop.UUCP> Date: Fri, 9-Oct-87 17:59:04 EDT Article-I.D.: uop.598 Posted: Fri Oct 9 17:59:04 1987 Date-Received: Mon, 12-Oct-87 05:40:27 EDT References: <183@pembina.UUCP> <30329@sun.uucp> Organization: Somewhere perpendicular to reality... Lines: 24 Summary: I have some C routines... In article <30329@sun.uucp>, guy%gorodish@Sun.COM (Guy Harris) writes: > > I am looking for a package to perform integer arithmetic > > (addition, subtraction, multiplication, division) for multiple-length > > integer numbers. The package must be runnable on a Vax 11/780 running > > 4.3 BSD UNIX. > > Will the "mp" package, whose source is supplied with 4.3BSD (or with V7, for > that matter), do? > Guy Harris > {ihnp4, decvax, seismo, decwrl, ...}!sun!guy > guy@sun.com mp uses odd storage techniques, etc. I have the basic four functions (+,-,/, *) written in C to handle any-length BCD strings (two digits/byte). The { routines were written for a Data Structures class (which was taught in Ada) and are not as optimized as they could be but they work. If the poster of the original request wants them, mail me!! Greg Onufer GEnie: G.ONUFER University of the Pacific UUCP: ...!ucbvax!\ **POSTMASTER @ UOP** -ucdavis!\ ...!lll-crg!/ -uop.edu!{exodus, exodusr, postmaster, root} ...!ptsfa!cogent!/ ...!cepu!retix!/