BSD Ports

devel/mpfr 4.2.2 OpenBSD

library for multiple-precision floating-point computations

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Christian Weisgerber <[email protected]>
Categories
devel, math

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 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

SystemPortVersion
OpenBSDdevel/mpfr4.2.2
FreeBSDmath/mpfr4.2.2,1
NetBSDmath/mpfr4.2.1
DragonFlymath/mpfr4.2.2,1
MidnightBSDmath/mpfr4.2.2

Install

Binary package:

pkg_add mpfr

From the ports tree:

cd /usr/ports/devel/mpfr && make install

Dependencies

Build dependencies 2
Run dependencies 1