mpz_roinit_n documentation

Niels Möller nisse at lysator.liu.se
Sun Feb 9 21:02:13 UTC 2014


bodrato at mail.dm.unipi.it writes:

> Should we add to the documentation of
>
> mpz_roinit_n (mpz_t x, const mp_limb_t *xp, mp_size_t xs)
>
> that the array pointed by xp must have at least a readable limb even if
> xs==0?

If that's not obvious from other documentation of mpz (which I doubt it
is), I think it deserves documentation. Can you add that? Also applies
to the MPZ_ROINIT_N macro.

Regards,
/Niels

-- 
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