[Fwd: Re: new mpfr release]

Vincent Lefevre vincent at vinc17.org
Thu Sep 25 16:47:37 CEST 2003

On 2003-09-25 12:32:47 +0200, Patrick Pelissier wrote:
> Why don't add for mpz/mpq/mpfr the varargs list version of 
> init/init2/clear ?
>   	mpx_t x, y, z, a, b, c;
>   	mpx_init_s (x, y, z, NULL);
>   	mpx_init2_s(50, a, b, c, NULL);
> 	...
>   	mpx_clear_s (x, y, z, a, b, c, NULL);

except that NULL must be casted to a pointer type (in the case
it is not a pointer), or something equivalent.

Vincent Lefèvre <vincent at vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA

More information about the gmp-devel mailing list