[email protected] (Torbjörn Granlund) writes: > IIRC, the size field counts bytes for these functions. The size in mpz > counts limbs.
You're right. So then for positive numbers, mpz_out_raw can deal with numbers of at most 2^34 - 8 bits. And negative numbers of at most 2^34 bits (absolute value). Which is smaller than the mpz_t limit. Regards, /Niels -- Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677. Internet email is subject to wholesale government surveillance. _______________________________________________ gmp-bugs mailing list [email protected] https://gmplib.org/mailman/listinfo/gmp-bugs
