1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/math/mppp/pkg-descr
Yuri Victorovich a407a23c27 New port: math/mppp: Multiprecision for modern C++
tests and benchmarks depend on a not yet committed bug#227102 (math/mpfr update)
2018-04-01 21:54:44 +00:00

19 lines
987 B
Plaintext

mp++ is a C++11 library for multiprecision arithmetic, currently supporting
arbitrary-precision integers, rationals and floats, and quadruple-precision
floats.
Based on well-known libraries such as GMP, MPFR, and others, mp++ was initially
conceived as a GMP wrapper with a special focus on performance with small
operands. In particular, a small buffer optimisation and custom implementations
of basic mathematical primitives are instrumental in achieving a performance
increase, with respect to GMP and other integer multiprecision libraries, which
can be substantial (see the benchmarks section of the documentation). The price
to pay is a small overhead when operating on large integers.
Eventually, a multiprecision rational class and two multiprecision
floating-point classes were added, and today a secondary objective of mp++ is to
provide a modern, consistent and unified C++ interface to several lower-level
multiprecision libraries.
WWW: https://github.com/bluescarni/mppp