Looking for decimal arithmetic routines.

Lloyd Zusman ljz at fxgrp
Mon Apr 25 04:47:59 AEST 1988


I'm looking for C source code for infinite-precision decimal arithmetic
routines.  I need to add, subtract, multiply, and divide arbitrary length
decimal numbers that could contain decimal points.

Floating point math is unacceptable, as exact results are desired (division
should give exact results too, via a quotient and a remainder).  No
exponential notation is needed or desired.

C source code is an absolute must.

Thanks in advance.



--
    Lloyd Zusman			Internet:   ljz at fx.com
    Master Byte Software		UUCP:	    ...!ames!fxgrp!ljz
    Los Gatos, California
    "We take things well in hand."



More information about the Comp.unix.questions mailing list