BSD Ports

devel/gmp 6.3.0 NetBSD

Library for arbitrary precision arithmetic

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
gnu-lgpl-v3 OR gnu-gpl-v2
Categories
devel, math
Package size
478.7 KiB, 3071.0 KiB installed

Description

GNU MP is a library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers. It has a rich set of functions, and the functions have a regular interface.

GNU MP is designed to be as fast as possible, both for small operands and for huge operands. The speed is achieved by using fullwords as the basic arithmetic type, by using fast algorithms, by carefully optimized assembly code for the most common inner loops for a lots of CPUs, and by a general emphasis on speed (instead of simplicity or elegance).

The speed of GNU MP is believed to be faster than any other similar library. The advantage for GNU MP increases with the operand sizes for certain operations, since GNU MP in many cases has asymptotically faster algorithms.

In the other systems

SystemPortVersion
NetBSDdevel/gmp6.3.0
FreeBSDmath/gmp6.3.0
OpenBSDdevel/gmp6.3.0p0
DragonFlymath/gmp6.3.0
MidnightBSDmath/gmp6.3.0
HardenedBSDmath/gmp6.3.0
GhostBSDmath/gmp6.3.0
OPNsensemath/gmp6.3.0

Install

Binary package:

pkgin install gmp

From pkgsrc:

cd /usr/pkgsrc/devel/gmp && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_646.3.0
NetBSD 10.1 aarch646.3.0
SmartOS / illumos x86_646.3.0
macOS 15 arm646.3.0

Dependencies

Required by 212

The first 100 are listed.