math/mpdecimal 4.0.1 FreeBSD
C/C++ arbitrary precision decimal floating point libraries
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD2CLAUSE
- Categories
- math
- Package size
- 142.1 KiB, 735.2 KiB installed
Description
libmpdec is a complete C implementation of the General Decimal Arithmetic Specification. The specification, written by Mike Cowlishaw from IBM, defines a general purpose arbitrary precision data type together with rigorously specified functions and rounding behavior. As described in the scope section of the specification, libmpdec will - with minor restrictions - also conform to the IEEE 754-2008 Standard for Floating-Point Arithmetic, provided that the appropriate context parameters are set.
libmpdec++ is a complete C++ implementation of the General Decimal Arithmetic Specification. libmpdec++ is mostly a header library around libmpdec. The library frees users from manual memory management and has an easy API with inline operators. libmpdec++ has a thread local context for inline operators and other functions that use the implicit context.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | math/mpdecimal | 4.0.1 |
| NetBSD | math/mpdecimal | 4.0.1 |
| DragonFly | math/mpdecimal | 4.0.0 |
| MidnightBSD | math/mpdecimal | 4.0.0 |
Install
Binary package:
pkg install mpdecimal
From the ports tree:
cd /usr/ports/math/mpdecimal/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= mpdecimal>0:math/mpdecimal
LIB_DEPENDS= libmpdec++.so:math/mpdecimal
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 4.0.1 | 4.0.1 | 2.5.1 | 4.0.1 | 4.0.1 |
| FreeBSD:14:quarterly | 4.0.1 | 4.0.1 | n/a | 4.0.1 | 4.0.1 |
| FreeBSD:15:latest | 4.0.1 | 4.0.1 | n/a | 4.0.1 | 4.0.1 |
| FreeBSD:15:quarterly | 4.0.1 | 4.0.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 4.0.1 | 4.0.1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 3
Required by 14691
- accessibility/accerciser
- accessibility/accesskit-c
- accessibility/at-spi2-core
- accessibility/atkmm
- accessibility/caribou
- accessibility/feedbackd
- accessibility/gammastep
- accessibility/hyprsunset
- accessibility/kdeaccessibility
- accessibility/kmag
- accessibility/kmousetool
- accessibility/kmouth
- accessibility/libqaccessibilityclient
- accessibility/libspeechprovider
- accessibility/libspiel
- accessibility/linux-c7-at-spi2-atk
- accessibility/linux-c7-at-spi2-core
- accessibility/linux-rl9-at-spi2-atk
- accessibility/linux-rl9-at-spi2-core
- accessibility/onboard
- accessibility/orca
- accessibility/py-atspi
- accessibility/py-speech-dispatcher
- accessibility/qt5-speech
- accessibility/qt6-speech
- accessibility/redshift
- accessibility/rubygem-atk
- accessibility/speech-dispatcher
- accessibility/wlsunset
- accessibility/yasr
- arabic/arabtex
- arabic/libitl
- arabic/libreoffice
- arabic/py-hijri-converter
- archivers/R-cran-brotli
- archivers/R-cran-zip
- archivers/apache-commons-compress
- archivers/ark
- archivers/arqiver
- archivers/brotli
- archivers/c-blosc
- archivers/c-blosc2
- archivers/cmdpack
- archivers/deco
- archivers/deutex
- archivers/dpkg
- archivers/draco
- archivers/engrampa
- archivers/file-roller
- archivers/gcab
- archivers/gcpio
- archivers/gnome-autoar
- archivers/grzip
- archivers/innoextract
- archivers/javatar
- archivers/kf5-karchive
- archivers/kf6-karchive
- archivers/laszip
- archivers/lazperf
- archivers/libarchive-qt
- archivers/libdeflate
- archivers/libszip
- archivers/libzip
- archivers/libzippp
- archivers/lua-lzlib
- archivers/lxqt-archiver
- archivers/lzfse
- archivers/minizip-ng
- archivers/nevada-toolset
- archivers/opkg-openwrt
- archivers/peazip
- archivers/py-acefile
- archivers/py-arpy
- archivers/py-bitshuffle
- archivers/py-blosc
- archivers/py-blosc2
- archivers/py-borgbackup
- archivers/py-brotli
- archivers/py-brotlicffi
- archivers/py-bup
- archivers/py-bz2file
- archivers/py-comicapi
- archivers/py-compressed-rtf
- archivers/py-cramjam
- archivers/py-extractcode
- archivers/py-inflate64
- archivers/py-laszip
- archivers/py-libarchive-c
- archivers/py-lz4
- archivers/py-lzma
- archivers/py-lzstring
- archivers/py-multivolumefile
- archivers/py-patool
- archivers/py-py7zr
- archivers/py-pybcj
- archivers/py-pycdlib
- archivers/py-pyminizip
- archivers/py-pyppmd
- archivers/py-python-lhafile
- archivers/py-python-lzo
The first 100 are listed.
Configuration
No options to configure.
- USES
- compiler:c++11-lang gmake pathfix
- Service scripts
- none
Files
Manual pages 3
- libmpdec(3)
- libmpdec++(3)
- mpdecimal(3)
pkg-plist 16
- include/decimal.hh
- include/mpdecimal.h
- lib/libmpdec++.a
- lib/libmpdec++.so
- lib/libmpdec++.so.4
- lib/libmpdec++.so.4.0.1
- lib/libmpdec.a
- lib/libmpdec.so
- lib/libmpdec.so.4
- lib/libmpdec.so.4.0.1
- libdata/pkgconfig/libmpdec++.pc
- libdata/pkgconfig/libmpdec.pc
- share/man/man3/libmpdec++.3.gz
- share/man/man3/libmpdec.3.gz
- share/man/man3/mpdecimal.3.gz
- share/doc/mpdecimal/COPYRIGHT.txt
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| mpdecimal-4.0.1.tar.gz | 316268 | 96d33abb4bb0070c7be0fed4246cd38416188325f820468214471938545b1ac8 |
Master sites 1
- https://www.bytereef.org/software/mpdecimal/releases/
Commit history 0
No commits in the history this site was built from.