In sections5.16 Special Functions of the
online documentation the signature for mpz_array_init is:
void mpz_array_init (mpz_t integer_array, size_t
array_size, mp_size_t fixed_num_bits)
From gmp.h it is:
void mpz_array_init __GMP_PROTO ((mpz_ptr, mp_size_t,
mp_size_t));
Notice that the type for “array_size” is given as size_t
in the documentation but is actually mp_size_t.
Regards
Chris Saunders
|