Projects / GNU MP

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.

Tags
Licenses

RSS Recent releases

  •  10 May 2012 21:47

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

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 23:47

Release Notes: This version includes new features and speedups.

  •  02 Sep 2009 09:39

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

  •  04 Feb 2007 03: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.

Screenshot

Project Spotlight

validator.php

A script to automatically validate HTML code generated by a PHP script.

Screenshot

Project Spotlight

Geany

A fast and lightweight IDE using GTK2.