[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gmp-devel
Subject:    Re: mpz_add_si (was: Re: mpz_prevprime)
From:       Paul Zimmermann <Paul.Zimmermann () inria ! fr>
Date:       2020-10-16 7:15:23
Message-ID: mwy2k6k5f8.fsf () tomate ! loria ! fr
[Download RAW message or body]

       Hi Niels,

> >>>   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.

mpz_addmul_si and mpz_submul_si are missing too.

Paul
_______________________________________________
gmp-devel mailing list
gmp-devel@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic