Niels Möller nisse at
Thu Jan 16 20:46:09 UTC 2014

Zimmermann Paul <Paul.Zimmermann at> writes:

> we don't depend on _mpz_realloc setting the result to zero, but your suggestion
> does not work, since for example in mpfr_get_z_2exp (mpz_ptr z, mpfr_srcptr f),
> we need to make sure that z has sufficient space to store the significand of f.

I see. How do you access that limb array, just dereferencing the _mp_d

If you need to access the limb-array, maybe it would make more sense to
add the new mpz_limbs_* functions to mini-gmp?


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

More information about the gmp-bugs mailing list