ni...@lysator.liu.se (Niels Möller) writes: Sure, but we could do static const mp_limb_t dummy_limb = 0xc0dedead; void mpz_init (mpz_t x) { x->_mp_size = x->_mp_alloc = 0; x->_mp_d = &dummy_limb; } It still represents the number zero, it's just that _mp_d[0] points to a dummy limb which happens to be far from zero. Sorry, I misunderstood your proposal.
-- Torbjörn Please encrypt, key id 0xC8601622 _______________________________________________ gmp-devel mailing list gmp-devel@gmplib.org https://gmplib.org/mailman/listinfo/gmp-devel