Suggestions for GMP

Décio Luiz Gazzoni Filho decio at decpp.net
Mon Sep 15 19:22:07 UTC 2014


On Sep 15, 2014, at 1:01 PM, remmellabs at juno.com wrote:

>                                 Dr. Ronald S. Remmel
>                                 Remmel Labs
>                                 1811 Parkfair Ct.
>                                 Katy, TX 77450
>                                 remmellabs at juno.com
>                                 281-578-8117
>                                 9/15/14
> 
> 
> Dear Torbjorn Granlund and the GMP Development Team:
> 
> Thank you very much for making available the GMP functions, which are working great for my calculation of pi.
> 
> I would like to suggest adding the common math functions to the GMP library: sin, cos etc.--the buttons on a pocket calculator. These might be needed for special calculations.
> 
> Sometimes it is necessary to compute with numbers which exceed the size of available RAM, such as computing pi to many digits. More RAM is very expensive. It would be nice to store some of the numbers on the hard drive(s), i.e., use the disk(s) as virtual memory. Because accessing the disk through the C++ functions and the kernel might be very slow, it might be best to purchase additional disk(s), and to program them directly in assembly language, bypassing the kernel. This can expand the size of numbers by at least 100X.
> 
> Let's dream big! How about complex numbers and matrixes!

GMP's source is available. Feel free to write all that stuff you propose and send it in as a patch. Then watch your patch be tossed to the trash, for reasons that have been discussed often on this very mailing list. From the looks of it, you haven't tried searching the archives.

Décio


More information about the gmp-discuss mailing list