mpz_div_2exp function

leif not.really at online.de
Mon Jun 24 20:06:18 CEST 2013


Niels Möller wrote:
> "Gutmann, A" <A.Gutmann at analog.com> writes:
>
>> Function: void mpz_div_2exp (MP_INT *quotient, MP_INT *dividend,
>> unsigned long int exponent_of_2)
>
> I find no such function in the GMP manual. Closest are mpz_cdiv_q_2exp,
> mpz_fdiv_q_2exp, mpz_tdiv_q_2exp, which do rounding in different ways.

FWIW, in 5.1.1 there's

/usr/include/gmp.h:#define mpz_div_2exp	mpz_fdiv_q_2exp


-leif

> Which one are you having a problem with?
>
> And which version of GMP are you using?
>
> Regards,
> /Niels Möller

-- 
() The ASCII Ribbon Campaign
/\   Help Cure HTML E-Mail


More information about the gmp-bugs mailing list