openbsd-ports/devel/gmp/pkg/DESCR-main
naddy 53302a19c9 Re-add the gmpxx C++ library. productivity/libalkimia requires the
C++ templates, though not libgmpxx.

Split off the C++ support into a separate cxx subpackage.  Add a
no_cxx bootstrap flavor and use it for the dependency chain up to
lang/gcc/4.9 in order to allow bootstrapping a C++ compiler from
ports.

Based on work by sthen@, tweaks by espie@.
2018-11-02 18:43:56 +00:00

18 lines
878 B
Plaintext

GNU MP is a library for arbitrary precision arithmetic, operating on
signed integers, rational numbers, and floating point numbers. It has a
rich set of functions, and the functions have a regular interface.
GNU MP 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, by carefully optimized assembly
code for the most common inner loops for a lots of CPUs, and by a general
emphasis on speed (instead of simplicity or elegance).
The speed of GNU MP is believed to be faster than any other similar
library. The advantage for GNU MP increases with the operand sizes for
certain operations, since GNU MP in many cases has asymptotically faster
algorithms.
The mpfr library is no longer bundled with gmp, but exists as a separate
package instead.