Use of mpz_mul_2exp

Chris Saunders evas at mountaincable.net
Sat Mar 20 03:15:14 CET 2010


I am working an interface to GMP for the language Eiffel.  I was attempting to implement a left shift operation using mpz_mul_2exp and am not getting the result I expected.  I'm hoping someone could write me a short example in C of using mpz_mul_2exp to do a left shift operation.  I prefer not to send thank you notes to the list, so let me include my thanks ahead of time if someone responds.

Regards
Chris Saunders


More information about the gmp-discuss mailing list