New mpz_lucas... functions

David Cleaver wraithx at morpheus.net
Sat Jul 16 21:08:23 CEST 2011


On 7/14/2011 9:55 PM, Christ Schlacta wrote:
> if you have .c or .diff/.patch files, you can publish them to the list for
> rapid review, or you can register with something like github or sourceforge
> that uses the same type of scm as gmp.

Thank you for reminding me, I do have a SourceForge account.  I have just set 
this up as my first project.  You can find the C file at the following location:

http://sourceforge.net/projects/mpzlucas/files/

If anyone has any questions or problems, please let me know.

On 7/14/2011 8:23 PM, Wes Freeman wrote:
> For licensing: GNU's LPGL is probably appropriate, if you want to match GMP's
> license. More info here: http://www.gnu.org/licenses/lgpl.html

Thank you for the info.  I went with LGPL for this code.

> I would like to see k be mpz_t, for those really big numbers. :) Maybe we can
> optimize it a bit.

I'm all for optimizing, and wouldn't mind seeing the k changed to an mpz_t.  Let 
me know how this works for everyone and what changes and/or additions we think 
might be necessary.

-David C.


More information about the gmp-discuss mailing list