math/mppp 1.0.3_3 DragonFly
Multiprecision for modern C++
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MPL20
- Categories
- math
- Package size
- 164.3 KiB, 1066.2 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | math/mppp | 1.0.3_3 |
| FreeBSD | math/mppp | 2.0.0_2 |
| HardenedBSD | math/mppp | 2.0.0_2 |
| GhostBSD | math/mppp | 2.0.0_1 |
Install
Binary package:
pkg install mppp
From DPorts:
cd /usr/dports/math/mppp && make install clean
Dependencies
Run dependencies 7
No port depends on this one.