GMP prototypes

Marc Glisse marc.glisse at
Wed Jul 17 17:38:27 CEST 2013

On Tue, 16 Jul 2013, Torbjorn Granlund wrote:

> Torbjorn Granlund <tg at> writes:
>  This is a long-standing bug in the documentation.
>  We need to add lots of 'const' to it.
> I pushed a change fixing lots of cases in the mpz, mpq, and mpf
> manual sections.

mpz_cdiv_q_2exp and mpz_cdiv_r_2exp are strange.

> I did not fix the C++ stuff, since I am less sure what is right there.

AFAICT there are only 6 const needed, for operator<< and for the 
constructors. I'll add them later.

Marc Glisse

More information about the gmp-discuss mailing list