Hans Aberg <haberg-1 at telia.com> writes: Why is mpz_init() allocating memory? Is it an optimization, or does programming of other functions becoming more convenient? It allocates memory in order to make space for limbs. -- Torbjörn