Re: Invalid read in mpz_sub

2016-06-02 Thread Torbjörn Granlund
Vincent Lefevre writes: I propose the attached patch. I think that 3.4 Variable Conventions is the best section for such information. So, I've moved a part of the paragraph in 3.5 Parameter Conventions to a new paragraph in 3.4 with more information, and I've

Re: Invalid read in mpz_sub

2016-04-07 Thread Torbjörn Granlund
Vincent Lefevre writes: However, the GMP manual says: [...] Here are some examples of how to declare such integers: mpz_t sum; struct foo { mpz_t x, y; }; mpz_t vec[20]; and doesn't forbid to copy the structure, for instance. I think