Usage of mpz_t inside of structures

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


Bruno Jiménez <brunojimen at gmail.com> 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
  doesn't.
  
  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.

-- 
Torbjörn


More information about the gmp-discuss mailing list