Variadic function for multiplications with mpz_t

Marc Glisse marc.glisse at inria.fr
Mon Jan 12 16:43:12 UTC 2015


On Mon, 12 Jan 2015, Torbjörn Granlund wrote:

> Marc Glisse <marc.glisse at inria.fr> writes:
>
>  mpz_srcptr actually, because it is const.
> 
> We actually consider mpz_ptr and mpz_srcptr as internal types, and thus
> potentially mutable.
>
> We might need to make these public, together with the corresponding mpq
> and mpf types, for the sake of varargs.

I think void* would have worked but it isn't documented either, so we 
might as well document mp*_ptr directly.

> Or is there another solution?

Use C++ instead ;-)

-- 
Marc Glisse


More information about the gmp-discuss mailing list