math/mpfr 4.2.2 MidnightBSD
Library for multiple-precision floating-point computations
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- lgpl3
- Categories
- math, devel
Description
The MPFR library is a C library for multiple-precision floating-point computations with exact rounding (also called correct rounding). It is based on the GMP multiple-precision library.
The main goal of MPFR is to provide a library for multiple-precision floating-point computation which is both efficient and has a well-defined semantics. It copies the good ideas from the ANSI/IEEE-754 standard for double-precision floating-point arithmetic (53-bit mantissa).
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | math/mpfr | 4.2.2 |
| FreeBSD | math/mpfr | 4.2.2,1 |
| OpenBSD | devel/mpfr | 4.2.2 |
| NetBSD | math/mpfr | 4.2.1 |
| DragonFly | math/mpfr | 4.2.2,1 |
Install
Binary package:
mport install mpfr
From mports:
cd /usr/mports/math/mpfr && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= mpfr>0:math/mpfr
LIB_DEPENDS= libmpfr.so:math/mpfr
Dependencies
As this port's Makefile names them.
Library 1
libgmp.so: math/gmp
Build dependencies 1
Run dependencies 1
Required by 23
- cad/PrusaSlicer
- cad/csxcad
- cad/ifcopenshell
- cad/openscad
- cad/openscad-devel
- databases/sfcgal
- devel/aarch64-none-elf-gcc
- devel/binutils
- devel/gdb
- devel/p5-DateTime-Astro
- devel/tex-web2c
- lang/gcc12
- lang/gcc13
- lang/gcc14
- lang/gcc15
- lang/gnat12
- math/cgal
- math/gnome-calculator
- math/libqalculate
- math/mpc
- math/py-gmpy2
- math/suitesparse-spex
- print/tex-luatex
Configuration
Options name: math_mpfr
| Option | Default | Description |
|---|---|---|
| DOCS | off |
- USES
- gmake libtool makeinfo tar:xz
- Service scripts
- none
Files
pkg-plist 7
- include/mpfr.h
- include/mpf2mpfr.h
- lib/libmpfr.a
- lib/libmpfr.so
- lib/libmpfr.so.6
- lib/libmpfr.so.6.2.2
- libdata/pkgconfig/mpfr.pc
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| mpfr-4.2.2/mpfr-4.2.2.tar.xz | 1.505596e+06 | b67ba0383ef7e8a8563734e2e889ef5ec3c3b898a01d00fa0a6869ad81c6ce01 |
Master sites 2
- https://www.mpfr.org/mpfr-4.2.2/
- GNU