public bool Equals(XInt other) { if (object.ReferenceEquals(other, null)) return false; return mpz_cmp(ref other.impl, ref this.impl) == 0; }