| Port details on branch 2025Q1 |
- mppp Multiprecision for modern C++
- 2.0.0_1 math
=0 2.0.0Version of this port present on the latest quarterly branch. - Maintainer: yuri@FreeBSD.org
 - Port Added: 2018-04-01 21:54:59
- Last Update: 2026-04-26 20:48:25
- Commit Hash: 67ff3c5
- License: MPL20
- WWW:
- https://github.com/bluescarni/mppp
- 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.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- To install the port:
- cd /usr/ports/math/mppp/ && make install clean
- To add the package, run one of these commands:
- pkg install math/mppp
- pkg install mppp
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: mppp
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1774898787
SHA256 (bluescarni-mppp-v2.0.0_GH0.tar.gz) = 699a882b8506b2e3c555a42300ad473302bfac3d35a931898816a401ed5fc5f3
SIZE (bluescarni-mppp-v2.0.0_GH0.tar.gz) = 1906050
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- cmake : devel/cmake-core
- ninja : devel/ninja
- Library dependencies:
-
- libgmp.so : math/gmp
- libfmt.so : devel/libfmt
- libmpc.so : math/mpc
- libmpfr.so : math/mpfr
- libboost_serialization.so : devel/boost-libs
- This port is required by:
- for Libraries
-
- astro/pykep
- math/heyoka
- math/obake
- math/py-heyoka
- math/py-pyaudi
Configuration Options:
- ===> The following configuration options are available for mppp-2.0.0_1:
ARB=off: Enable features relying on Arb (requires math/flint >= 3)
FMT=on: Enable support for the fmt library
MPC=on: Enable features relying on MPC
MPFR=on: Enable features relying on MPFR
SERIALIZATION=on: Enable features relying on the Boost.Serialization library
===> Use 'make config' to modify these settings
- Options name:
- math_mppp
- USES:
- cmake compiler:c++14-lang
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|