Hello and a question :)

Marc Glisse marc.glisse at inria.fr
Mon Sep 19 10:01:20 CEST 2011


On Sun, 18 Sep 2011, Emil Müller wrote:

> I have a simple question. A previously huge mpz_t with many limbs is set to
> a small number. An arithmetic operation is performed on it and another small
> mpz_t. Will GMP go through all of the limbs or does an mpz_t have some
> internal reference as to how many limbs are actually being occupied by the
> number?

http://gmplib.org/manual/Integer-Internals.html

-- 
Marc Glisse


More information about the gmp-discuss mailing list