math/mpfrc++ 3.7.2 FreeBSD
High-performance C++ interface for MPFR library
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- GPLv3
- Categories
- math, devel
- Package size
- 28.8 KiB, 164.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
| System | Port | Version |
|---|---|---|
| FreeBSD | math/mpfrc++ | 3.7.2 |
| DragonFly | math/mpfrc++ | 3.7.1 |
Install
Binary package:
pkg install mpfrc++
From the ports tree:
cd /usr/ports/math/mpfrc++/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= mpfrc++>0:math/mpfrc++
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 | 3.7.2 | 3.7.2 | 3.6.9 | 3.7.1 | 3.7.2 |
| FreeBSD:14:quarterly | 3.7.2 | 3.7.2 | n/a | 3.7.1 | 3.7.2 |
| FreeBSD:15:latest | 3.7.2 | 3.7.2 | n/a | 3.7.1 | 3.7.1 |
| FreeBSD:15:quarterly | 3.7.2 | 3.7.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.7.2 | 3.7.2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 1
${PREFIX}/include/mpfr.h: math/mpfr
Test 1
${PREFIX}/include/mpfr.h: math/mpfr
The full lists below include those, and their dependencies in turn.
Run dependencies 3
No port depends on this one.
Configuration
No options to configure.
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| advanpix-mpreal-mpfrc++-3.7.2_GH0.tar.gz | 39460 | 5e31deda0809da078bff43eda7d1117545818f4704f97289c92c34b6f91c2923 |
Commit history 0
No commits in the history this site was built from.