Usage of mpz_t inside of structures
Bruno Jiménez
brunojimen at gmail.com
Wed Jun 20 12:25:13 CEST 2012
El mié, 20-06-2012 a las 12:11 +0200, Torbjorn Granlund escribió:
> Hint: If you pass *any* struct variable by value, you will not see
> changes to the struct fields in the caller.
>
▢_▢ Ok... Thanks a lot. I just thought that as you pass the mpz_t's to a
function they remain changed, they would do the same if passed inside of
a structure...
Well, then I suppose I have to think of other way to do everything.
Thanks for all!
Bruno
More information about the gmp-discuss
mailing list