bodr...@mail.dm.unipi.it writes: > About documentation... shall we explicitly document a supported way to > obtain an mpn form an mpz, and viceversa? The following should always > work, right? > > /* {np, nn} <- |z| */ > mpz_export (np, &nn, -1, sizeof(mp_limb_t), 0, sizeof(mp_limb_t) * 8 - > mp_bits_per_limb, z);
That seems quite awkward to me. I think it would make more sense to document the contents of an mpz_t. Regards, /Niels -- Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26. Internet email is subject to wholesale government surveillance. _______________________________________________ gmp-devel mailing list gmp-devel@gmplib.org http://gmplib.org/mailman/listinfo/gmp-devel