Public mpn_add_nc (was Re: GMP symbol naming (and the history thereof)?)

Niels Möller nisse at
Sun Mar 3 18:54:12 CET 2013

Torbjorn Granlund <tg at> writes:

> nisse at (Niels Möller) writes:
>   Here are some comments on a few that stood out.
> Thanks!

I think I'll reply in one mail per function (-group).

> I didn't list __gmpn_add_n_sub_n as public since I consider it
> experimental.  It seemed like a good idea, but I never managed to make
> it faster, not even for the large operands for which is was intended.

I see. Main intended use was Schönhage-Strassen fft, or?

> While __gmpn_add_nc makes more sense as public, I didn't suggest it to
> be that for more practical reasons.  Many asm implementations do not
> provide this entry point.
> I am not against making it public, but it cannot be done without
> additional work.

I see. I hope adding the entry points should be easy.


Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.

More information about the gmp-devel mailing list