Report bug in GMP library.

Torbjörn Granlund tg at gmplib.org
Fri Feb 24 13:11:41 UTC 2017


Thông Nguyễn Văn <anhthong.381996 at gmail.com> writes:

  #include <gmp.h>
  
  int main()
  {
  mpz_t x,y;
  mpz_inits(x,y);  // use "mpz_init(x);mpz_init(y);" to get correct.
  }
  
You need to append a NULL argument.  (See the GMP manual for usage
details.)

No GMP bug.

-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-bugs mailing list