BSD Ports

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

SystemPortVersion
FreeBSDmath/mpdecimal4.0.1
NetBSDmath/mpdecimal4.0.1
DragonFlymath/mpdecimal4.0.0
MidnightBSDmath/mpdecimal4.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest4.0.14.0.12.5.14.0.14.0.1
FreeBSD:14:quarterly4.0.14.0.1n/a4.0.14.0.1
FreeBSD:15:latest4.0.14.0.1n/a4.0.14.0.1
FreeBSD:15:quarterly4.0.14.0.1n/an/an/a
FreeBSD:16:latest4.0.14.0.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

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
FileSizeSHA256
mpdecimal-4.0.1.tar.gz31626896d33abb4bb0070c7be0fed4246cd38416188325f820468214471938545b1ac8
Master sites 1
  • https://www.bytereef.org/software/mpdecimal/releases/

Commit history 0

No commits in the history this site was built from.