Ciao, Il Gio, 6 Febbraio 2014 2:08 pm, Niels ha scritto: > Personally, I feel a bit easier about adding feature close to release, > than about rewriting code for existing features.
So, maybe we can discuss about adding a new function to the _limbs interface: mp_ptr mpz_init_limbs_write (mpz_t x, mp_size_t n) { ALLOC (x) = n; PTR (x) = (mp_ptr) (*__gmp_allocate_func) (n*GMP_LIMB_BYTES); SIZ (x) = 0; return PTR (x); } Regards, m -- http://bodrato.it/ _______________________________________________ gmp-devel mailing list gmp-devel@gmplib.org https://gmplib.org/mailman/listinfo/gmp-devel