BSD Ports

math/mpfrc++ 3.7.1 DragonFly

High-performance C++ interface for MPFR library

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv3
Categories
devel, math
Package size
27.4 KiB, 157.5 KiB installed

Description

MPFR library allows user to conduct floating-point calculations with virtually any (restricted by available memory only) precision with correct rounding. Besides simple arithmetic operations like "+" and "/" the whole set of mathematical functions is supported: sin, sqrt, pow, log, etc.

MPFR defines custom C-language type to represent floating-point number mpfr_t. Mathematical manipulations with mpfr_t - variables are done through assembler-look-like functions. For instance, to add two numbers x and y with result in z special function mpfr_add(z,x,y,GMP_RNDN) should be called.

In the other systems

SystemPortVersion
DragonFlymath/mpfrc++3.7.1
FreeBSDmath/mpfrc++3.7.2

Install

Binary package:

pkg install mpfrc++

From DPorts:

cd /usr/dports/math/mpfrc++ && make install clean

Dependencies

Run dependencies 1

No port depends on this one.