<s>
GNU	B-Application
Multiple	I-Application
Precision	I-Application
Arithmetic	I-Application
Library	I-Application
(	O
GMP	B-Application
)	O
is	O
a	O
free	B-Application
library	O
for	O
arbitrary-precision	B-Algorithm
arithmetic	I-Algorithm
,	O
operating	O
on	O
signed	O
integers	O
,	O
rational	O
numbers	O
,	O
and	O
floating-point	B-Algorithm
numbers	I-Algorithm
.	O
</s>
<s>
There	O
are	O
no	O
practical	O
limits	O
to	O
the	O
precision	O
except	O
the	O
ones	O
implied	O
by	O
the	O
available	O
memory	B-Architecture
(	O
operands	O
may	O
be	O
of	O
up	O
to	O
232−1	O
bits	O
on	O
32-bit	O
machines	O
and	O
237	O
bits	O
on	O
64-bit	O
machines	O
)	O
.	O
</s>
<s>
GMP	B-Application
has	O
a	O
rich	O
set	O
of	O
functions	O
,	O
and	O
the	O
functions	O
have	O
a	O
regular	O
interface	O
.	O
</s>
<s>
The	O
basic	O
interface	O
is	O
for	O
C	B-Language
,	O
but	O
wrappers	O
exist	O
for	O
other	O
languages	O
,	O
including	O
Ada	B-Language
,	O
C++	B-Language
,	O
C#	B-Application
,	O
Julia	B-Application
,	O
.NET	B-Application
,	O
OCaml	B-Language
,	O
Perl	B-Language
,	O
PHP	B-Language
,	O
Python	B-Language
,	O
R	B-Language
,	O
Ruby	B-Language
,	O
and	O
Rust	B-Application
.	O
</s>
<s>
Prior	O
to	O
2008	O
,	O
Kaffe	B-Language
,	O
a	O
Java	B-Language
virtual	I-Language
machine	I-Language
,	O
used	O
GMP	B-Application
to	O
support	O
Java	B-Language
built-in	O
arbitrary	B-Algorithm
precision	I-Algorithm
arithmetic	I-Algorithm
.	O
</s>
<s>
Shortly	O
after	O
,	O
GMP	B-Application
support	O
was	O
added	O
to	O
GNU	B-Language
Classpath	I-Language
.	O
</s>
<s>
The	O
main	O
target	O
applications	O
of	O
GMP	B-Application
are	O
cryptography	O
applications	O
and	O
research	O
,	O
Internet	O
security	O
applications	O
,	O
and	O
computer	B-General_Concept
algebra	I-General_Concept
systems	I-General_Concept
.	O
</s>
<s>
GMP	B-Application
aims	O
to	O
be	O
faster	O
than	O
any	O
other	O
bignum	B-Algorithm
library	O
for	O
all	O
operand	O
sizes	O
.	O
</s>
<s>
Highly	O
optimized	O
assembly	B-Language
language	I-Language
code	O
for	O
the	O
most	O
important	O
inner	O
loops	O
,	O
specialized	O
for	O
different	O
processors	B-General_Concept
.	O
</s>
<s>
The	O
first	O
GMP	B-Application
release	O
was	O
made	O
in	O
1991	O
.	O
</s>
<s>
GMP	B-Application
is	O
part	O
of	O
the	B-Application
GNU	I-Application
project	I-Application
(	O
although	O
its	O
website	O
being	O
off	O
gnu.org	B-Application
may	O
cause	O
confusion	O
)	O
,	O
and	O
is	O
distributed	O
under	O
the	O
GNU	B-Application
Lesser	I-Application
General	I-Application
Public	I-Application
License	I-Application
(	O
LGPL	B-Application
)	O
.	O
</s>
<s>
GMP	B-Application
is	O
used	O
for	O
integer	O
arithmetic	O
in	O
many	O
computer	B-General_Concept
algebra	I-General_Concept
systems	I-General_Concept
such	O
as	O
Mathematica	B-Language
and	O
Maple	B-Language
.	O
</s>
<s>
It	O
is	O
also	O
used	O
in	O
the	O
Computational	B-Language
Geometry	I-Language
Algorithms	I-Language
Library	I-Language
(	O
CGAL	B-Language
)	O
.	O
</s>
<s>
GMP	B-Application
is	O
needed	O
to	O
build	O
the	O
GNU	B-Application
Compiler	I-Application
Collection	I-Application
(	O
GCC	B-Application
)	O
.	O
</s>
<s>
Here	O
is	O
an	O
example	O
of	O
C	B-Language
code	O
showing	O
the	O
use	O
of	O
the	O
GMP	B-Application
library	O
to	O
multiply	O
and	O
print	O
large	O
numbers	O
:	O
</s>
<s>
For	O
comparison	O
,	O
one	O
can	O
write	O
instead	O
the	O
following	O
equivalent	O
C++	B-Language
program	I-Language
.	O
</s>
