Developer(s) | GNU Project |
---|---|
Initial release | 1991 |
Stable release | 6.1.2 (16 December 2016 | )
Repository | gmplib |
Written in | C, (C++, assembly optionally) |
Operating system | Cross-platform |
Type | Mathematical software |
License | Dual LGPLv3 and GPLv2 |
Website | gmplib |
The GNU Multiple Precision Arithmetic Library (GMP) is a free library for arbitrary-precision arithmetic, operating on signed integers, rational numbers, and floating point numbers. There are no practical limits to the precision except the ones implied by the available memory in the machine GMP runs on (operand dimension limit is 232-1 bits on 32-bit machines and 237 bits on 64-bit machines). GMP has a rich set of functions, and the functions have a regular interface. The basic interface is for C but wrappers exist for other languages including Ada, C++, C#, Julia, OCaml, Perl, PHP, Python, R, Ruby and the Wolfram Language. In the past, the Kaffe Java virtual machine used GMP to support Java built-in arbitrary precision arithmetic. This feature has been removed from recent releases, causing protests from people who claim that they used Kaffe solely for the speed benefits afforded by GMP. As a result, GMP support has been added to GNU Classpath.
The main target applications of GMP are cryptography applications and research, Internet security applications, and computer algebra systems.