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

Michael Van Canneyt michael at freepascal.org
Tue Jul 11 15:23:38 CEST 2017



On Tue, 11 Jul 2017, noreply at z505.com wrote:

> On 2017-07-09 04:36, Michael Van Canneyt wrote:
>> 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
>
> Would be good to put this on github so I don't forget about it when I 
> need it (upcoming projects in Math require some massively large numbers 
> to work with)..
>
> Franco is not using Github for this?

It is even on the FPC ftp server; see contrib directory.

Michael.



More information about the fpc-pascal mailing list