"Marco Bodrato" <bodr...@mail.dm.unipi.it> writes: >>> mpz_add_si (p, p, diff * (odds_in_composite_sieve-1)); > > We don't have such a function :-)
Ooops. Maybe we should have? We do have both _ui and _si versions of other basic mpz functions, including mpz_set, mpz_mul, and mpz_cmp. Regards, /Niels -- Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677. Internet email is subject to wholesale government surveillance. _______________________________________________ gmp-devel mailing list gmp-devel@gmplib.org https://gmplib.org/mailman/listinfo/gmp-devel