Function return values in GMP?
apoc_gfx at yahoo.com
Sun Feb 26 01:30:53 CET 2006
I find it very irritating and redundant that none of
the GMP functions return GMP-type variables. It makes
things inflexible so you have to create lots of
variables, even special variables that you only use
once. The following code would be ideal, but is
currently impossible in GMP:
series = mpz_add_ui(series, mpz_ui_pow_ui(i, i));
Is there any reason why the GMP project has chosen to
make almost all the functions return void?
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the gmp-discuss