Division by 2

Kevin Ryde user42@zip.com.au
Sat, 03 May 2003 07:25:03 +1000


Minh Nguyen <md6nguyen@yahoo.com> writes:
>
> Is mpz_tdiv_q_ui smart enough to treat 2 as a special case?

No, see notes on 2exp functions in the "Efficiency" section of the manual.