GNU Multiple Precision Arithmetic Library
Library for arbitrary precision arithmetic, operating on signed integers, rational numbers and floating point numbers
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 (operands may be of up to 232−1 bits on 32-bit machines and 237 bits on 64-bit machines).
Nº Q1205818 ★★
Uncommon · Literature
GNU Multiple Precision Arithmetic Library
Library for arbitrary precision arithmetic, operating on signed integers, rational numbers and floating point numbers
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 (operands may be of up to 232−1 bits on 32-bit machines and 237 bits on 64-bit machines).
From Wikipedia
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 (operands may be of up to 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, .NET, OCaml, Perl, PHP, Python, R, Ruby, and Rust. Before 2008, Kaffe, a Java virtual machine, used GMP to support Java built-in arbitrary precision arithmetic. Shortly after, GMP support was added to GNU Classpath, as the backends to java.math.BigInteger and java.math.BigDecimal. The main target applications of GMP are cryptography applications and research, Internet security applications, and computer algebra systems. GMP aims to be faster than any other arbitrary-precision arithmetic (big number) library for all operand sizes. Some important factors in doing this are: Full words are the basic type for all arithmetic. Different algorithms are used for different operand sizes; algorithms which are more efficient with large numbers are not used when dealing with small numbers. Assembly language (specialized for different processors) is used in the most common inner loops to optimize them as much as possible. The first GMP release was made in 1991. It is constantly developed and maintained. GMP is part of the GNU project (although its website being off gnu.org may cause confusion), and is distributed under the GNU Lesser General Public License (LGPL). GMP is used for integer arithmetic in many computer algebra systems such as Mathematica and Maple. It is also used in the Computational Geometry Algorithms Library (CGAL). GMP is needed to build the GNU Compiler Collection...
Text: Wikipédia, CC BY-SA 4.0. · Image: GMP (Public domain) ·
Related cards
-
O
Octuple-precision floating-point format
256-bit computer number format
Nº Q25109769 ★
Not listed
-
J
JMP (x86 instruction)
Machine instruction in a x86 assembly language
Nº Q6108529 ★
Not listed
-
A
Adaptive Multi-Rate audio codec
Audio compression format optimized for speech coding
Nº Q4676210 ★
Not listed
-
Supplemental Mathematical Operators
Unicode block (U+2A00-2AFF)
Nº Q2494163 ★
Not listed
-
Mathematical Operators (Unicode block)
Unicode block (U+2200-22FF)
Nº Q2493997 ★★
Not listed
-
GNU Health
Health and Hospital Information System
Nº Q2703769 ★
Not listed