GMP 5.1.2 released

Torbjorn Granlund tg at
Tue May 21 12:33:53 CEST 2013

A new minor release of the GNU Multiple Precision Arithmetic Library
(GMP) is now available.  The new release is identified as 5.1.2.

The release can be downloaded from here:

These files are also available at the GNU main site under, and at its many mirrors.

The changes between this release and the previous release are limited to
various safe bug fixes and portability improvements, and testsuite

It cannot be said enough times: Please run "make check" after you've
built your library.  And if "make check" stops with an error, do not
use the compiled library.  When this happens, you've almost surely run
into a compiler bug, not a GMP bug, since we've of course made sure
the library passes its own test suite.  The first thing to try at this
point is using a different compiler.  See also

This release would not have been possible without the very devoted
work of Niels Möller and Marco Bodrato, or Marc Glisse's work on the
C++ interface.  As usual, Torbjörn Granlund coordinated the
development and release, and did a fair amount of development work

Changes between GMP version 5.1.1 and 5.1.2

  * A bug in mpz_powm_ui triggered by base arguments of at least 15000 decimal
    digits or mod arguments of at least 7500 decimal digits has been fixed.

  * An AMD Bulldozer specific bug affecting the 64-bit Windows ABI has been
    fixed.  This bug was in a key function (mpn_mul_1) and made both Bulldozer
    specific builds and fat builds run on Bulldozer completely non-functional.

  * None.

  * None.

  * Fixes and generalisations to the test suite.

  * Minor portability enhancements.

The GMP project is hosted by KTH, Royal Institute of Technology,
Stockholm, Sweden.


More information about the gmp-announce mailing list