[comp.lang.pascal] Using multiple precision integers in Pascal

tim@walt.cc.utexas.edu (Tim Eakin) (08/07/90)

I am wondering if there is some pascal library, equivalent to the mp
library for C (libmp.a), that can accomodate multiple precision arithmetic.
The only operations I need are addition/subtraction and multiplication, but 
I need arbitrary precision that extends past 16 byte integers
(>37 decimal digits).

If I have to construct a complicated long integer data type and the code for
doing the the algebraic manipulation myself, I might as well invest the time 
in re-coding the application for which it is needed in C, and then use the mp
library directly.  Alternatively, if anyone has linked the mp library to a
Pascal program successfully, could you please let me know what is necessary
besides an include statement -- e.g., how to declare the multiple precision
integer variables in a var statement, etc.?  I have access to using either
the pc compiler on a Sun OS 4.0 or the Domain PASCAL on an Apollo SR 10.2.

Thanks !!

Tim      tim@walt.cc.utexas.edu