Ciao Il Gio, 21 Giugno 2012 7:10 pm, bodr...@mail.dm.unipi.it ha scritto: >> 2) gmp-impl.h defines the unused macro MPN_SIZEINBASE_16.
> I suggest to replace it with the macro MPN_SIZEINBASE_2EXP currently > defined in mpz/export.c . Pushed the change... > This macro should be used also to count the size in bits, with base2exp=1, > in e.g. mpz/n_pow_ui.c, mpz/get_d_2exp.c, mpn/rootrem.c, mpn/powlo.c ... ... and used the new macro somewhere in the code, where it was safe. > But the question is: which type should we use for _SIZEINBASE internals? Decided for mp_bitcnt_t in MPN_SIZEINBASE_2EXP. Regards, m -- http://bodrato.it/software/strassen.html _______________________________________________ gmp-devel mailing list gmp-devel@gmplib.org http://gmplib.org/mailman/listinfo/gmp-devel