Usage of mpz_t inside of structures

Torbjorn Granlund tg at
Wed Jun 20 11:23:25 CEST 2012

Bruno Jiménez <brunojimen at> writes:

  And I get back all the numbers needed for the key. But I wanted to
  change it to use directly the structure I have written above, supposing
  that it would work the same way as with just the mpz_t's, but it
  So, I don't know if I just am doing something wrong, or it is because
  this just can't be done this way.
There is no reason why GMP's types couldn't be put inside structures.
I have no idea about what mistake you have made.


More information about the gmp-discuss mailing list