Marc Glisse <marc.glisse at inria.fr> writes: mpz_cdiv_q_2exp and mpz_cdiv_r_2exp are strange. Thanks for proof-reading! (Typo now fixed.) > 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. Good! -- Torbjörn