[fpc-pascal]really big integers

Michael Van Canneyt michael.vancanneyt at wisa.be
Mon Oct 15 09:26:36 CEST 2001


On Sat, 13 Oct 2001, Bernhard Steffen wrote:

> Hi there,
>
> I'm looking for pascal code to handle really big integers, like 128 bit
> or more. I want to do +, -, *, DIV and MOD ops on them. Does anybody
> know routines for this?

Look on the contributed units page, I think there is a package called 'mp'
which allows arbitrary precision calculation. It even supports operator
overloading, so  *,/,+ and - retain their meaning.

Michael.





More information about the fpc-pascal mailing list