[fpc-devel] Arbitrary-precision arithmetic unit

Michael Schnell mschnell at lumino.de
Mon Mar 2 12:58:26 CET 2009


Alexander Klenin wrote:
> On Mon, Mar 2, 2009 at 21:27, Michael Schnell <mschnell at lumino.de> wrote:
>   
>> Do you need integer or floating point ?
>>     
> Fixed-point, actually.
>   
In the "Deutsches Lazarus Forum" there was a project called "GNURZ" 
providing this. It was quite promising and I provided some 
ASM-optimization for it.

Here the original Author implemented a "Karazuba" multiplication, that 
is a lot faster than the standard Multiplication algorithm, when very 
long numbers are handled (see Wikipedia on Karazuba).

Combined with the ASM optimization for the basic functions this seems to 
be a very fast library.

Unfortunately the original Author has stopped to work on the project and 
nobody seems to be inclined to do some necessary cleaning up of the code 
to allow a community based development.

The license seems to be no problem at all.


-Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20090302/e86a0dfc/attachment.html>


More information about the fpc-devel mailing list