Port details on branch 2022Q3 |
- mppp Multiprecision for modern C++
- 1.0.2 math =0 1.0.2Version of this port present on the latest quarterly branch.
- Maintainer: yuri@FreeBSD.org
- Port Added: 2018-04-01 21:54:59
- Last Update: 2023-12-23 07:57:22
- Commit Hash: 3a6b75a
- 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 - 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 = 1703315273
SHA256 (bluescarni-mppp-v1.0.2_GH0.tar.gz) = 2a537bc339726388fdda39905692d3df92fceee51d264e720e0e7ab7570bcdaf
SIZE (bluescarni-mppp-v1.0.2_GH0.tar.gz) = 1904819
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
- libarb.so : math/arb
- libflint.so : math/flint2
- 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
-
- math/heyoka
- math/obake
- math/py-heyoka
- math/py-pyaudi
Configuration Options:
- ===> The following configuration options are available for mppp-1.0.2:
ARB=on: Enable features relying on Arb
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:
|