Projects / GNU MP


GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers. There is no limit to the precision, except for the ones implied by available memory. It has a rich set of functions, and the functions have a regular interface. It is designed to be as fast as possible, both for small operands and for huge operands. The speed is achieved by using fullwords as the basic arithmetic type, by using fast algorithms with carefully optimized assembly code for the most common inner loops for a lot of CPUs, and by a general emphasis on speed (instead of simplicity or elegance). It is believed to be faster than any other similar library. The advantage increases with the operand sizes for certain operations, since GMP in many cases has asymptotically faster algorithms.


Recent releases

  •  10 May 2012 13:28

    Release Notes: The changes between this release and the previous release are limited to various safe bugfixes and portability improvements.

    •  08 Feb 2010 20:50

      Release Notes: This release series contain a very large amount of new code, and countless improvements to existing code. There are also a large number of changes between 5.0.0 and 5.0.1, to fix certain regressions. Fat builds have been fixed. A crash with the FFT_TABLE2 parameter has been fixed. More Core i3, i5, and Core i7 processor models are recognized. Upgraded to the latest autoconf, automake, and libtool.

      •  29 Jan 2010 20:26

        Release Notes: This version includes new features and speedups.

        •  02 Sep 2009 05:16

          Release Notes: Lots of additions and bugfixes were made since 4.2.1.

          •  04 Feb 2007 11:17

            Release Notes: Shared library numbers were corrected. Broken support for 32-bit AIX was fixed. A bug was fixed in hamdist/popcount for powerpc64 mode32. Exact division (mpz_divexact) now falls back to plain division for large operands. Basic x86-64 assembly code was added. The FFT multiply code is now about 25% faster. Division is now always subquadratic.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.