primorial(negative)

Marco Bodrato bodrato at mail.dm.unipi.it
Fri Nov 13 07:11:56 UTC 2015


Ciao,

Il Gio, 12 Novembre 2015 10:10 am, paul zimmermann ha scritto:
> mpz_prime_t p;

mpz_t p;

> mpz_prime_init_ui (p, 17); /* initializes p to 17 */

mpz_init_set_ui (p, 17);

> mpz_prime_next (p);     /* p <- next_prime(p) */

mpz_nextprime (p, p);

> mpz_prime_clear (p);

mpz_clear (p);

Sorry Paul, but I'm not able to get the point of the interface you proposed.

Best regards,
m

-- 
http://bodrato.it/



More information about the gmp-discuss mailing list