[fpc-pascal] Super Large Integer Math Calculations (fwd)

Michael Van Canneyt michael at freepascal.org
Sun Jul 9 11:36:01 CEST 2017


Forwarded at request of franco at rhost.it:

--------

On Fri, 7 Jul 2017, noreply at z505.com wrote:

> For integers beyond 64 bit, or even beyond 32 bit on a 64 bit machine, why 
> can't the math be broken down into peices the way a human does it on paper, 
> and then theoretically any number can be added and subtracted, even if it is 
> beyond 32/64 bit?

An alternative unit in i386 assembler and base 2^32 for big integers:
http://spazioinwind.libero.it/frm/software/bigint.zip

Here there is also a floating-point multiprecision unit up to 5000 digits:
http://spazioinwind.libero.it/frm/software/mpcalc-7.4.zip

Franco



More information about the fpc-pascal mailing list