New function mpz_init_setbit
marco.bodrato at tutanota.com
marco.bodrato at tutanota.com
Thu Jun 25 18:08:25 CEST 2026
Ciao.
25 giu 2026, 17:57 da tg at gmplib.org:
> I meant mpz_init_set_2exp.
>
We may add a function mpz_init_set_ui_2exp (z,i,e),
a sort of ldexp that inits&sets z to i*2^e :-)Then the name of the function I want to add should be
mpz_init_set_one_2exp
:-D
> But mpz_init_setbit is fine to.
>
I think I'll begin with this name,
we will have the time to change it before releasing ;-)
Ĝis,
mb
More information about the gmp-devel
mailing list