mpz_t_mp_alloc Property |
Namespace: Math.Gmp.Native
mpz_t._mp_alloc is the number of limbs currently allocated at mp_base._mp_d, and naturally mpz_t._mp_alloc >= ABS(mpz_t._mp_size). When an mpz routine is about to (or might be about to) increase mpz_t._mp_size, it checks mpz_t._mp_alloc to see whether there’s enough space, and reallocates if not.