mpn_add_n function example

Di Maria Giovanni calimero22 at
Mon May 21 15:22:45 CEST 2012

Thank you
My problem is that i dont know how to transform a simple mpz value to a limb.


> Date: Sun, 20 May 2012 18:16:00 +0100 (BST)
> From: Di Maria Giovanni <calimero22 at>
> Hi
> Can you give me an easy example of the usage
> of the low-leve function:
> mpn_add_n
> Thank you  very much
> Giovanni

yes, the reference manual contains such an example:

Paul Zimmermann

More information about the gmp-discuss mailing list