Changes for version 0.27

  • Remove (the need for) INLINE.h
  • Change Rmpz_sprintf to return the number of characters written.
  • Change Rmpz_sizeinbase and Rmpz_size to return unsigned longs instead of signed long ints.
  • Add __GNU_MP_VERSION, __GNU_MP_VERSION_MINOR, __GNU_MP_VERSION_PATCHLEVEL, __GMP_CC and __GMP_CFLAGS
  • Change Rmpz_scan0 and Rmpz_scan1 to return unsigned long. (Returning a signed long int was wrong.)
  • Change Rmpz_printf() so that, like its fprintf and sprintf counterparts, it formats only one variable at a time.
  • Fix bug in Rmpz_init_set_str (and Rmpz_init_set_str_nobless) that led to a segfault if string was invalid (ie if mpz_init_set_str() returned true).

Modules

perl interface to the GMP library's integer (mpz) functions.