devel/gmp - The NetBSD Packages Collection

Library for arbitrary precision arithmetic

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.

Build dependencies

devel/libtool-base pkgtools/mktools devel/autoconf devel/m4 pkgtools/cwrappers

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64gmp-6.3.0.tgz
NetBSD 10.0aarch64gmp-6.3.0.tgz
NetBSD 10.0aarch64ebgmp-6.3.0.tgz
NetBSD 10.0aarch64ebgmp-6.3.0.tgz
NetBSD 10.0alphagmp-6.3.0.tgz
NetBSD 10.0alphagmp-6.3.0.tgz
NetBSD 10.0earmv4gmp-6.3.0.tgz
NetBSD 10.0earmv4gmp-6.3.0.tgz
NetBSD 10.0earmv6hfgmp-6.3.0.tgz
NetBSD 10.0earmv6hfgmp-6.3.0.tgz
NetBSD 10.0earmv6hfgmp-6.3.0.tgz
NetBSD 10.0earmv7hfgmp-6.3.0.tgz
NetBSD 10.0earmv7hfgmp-6.3.0.tgz
NetBSD 10.0earmv7hfgmp-6.3.0.tgz
NetBSD 10.0i386gmp-6.3.0.tgz
NetBSD 10.0i386gmp-6.3.0.tgz
NetBSD 10.0m68kgmp-6.3.0.tgz
NetBSD 10.0m68kgmp-6.3.0.tgz
NetBSD 10.0m68kgmp-6.3.0.tgz
NetBSD 10.0m68kgmp-6.3.0.tgz
NetBSD 10.0mips64ebgmp-6.3.0.tgz
NetBSD 10.0mips64ebgmp-6.3.0.tgz
NetBSD 10.0powerpcgmp-6.3.0.tgz
NetBSD 10.0powerpcgmp-6.3.0.tgz
NetBSD 10.0powerpcgmp-6.3.0.tgz
NetBSD 10.0sh3elgmp-6.3.0.tgz
NetBSD 10.0sh3elgmp-6.3.0.tgz
NetBSD 10.0sparc64gmp-6.3.0.tgz
NetBSD 10.0sparc64gmp-6.3.0.tgz
NetBSD 10.0sparcgmp-6.3.0.tgz
NetBSD 10.0sparcgmp-6.3.0.tgz
NetBSD 10.0vaxgmp-6.3.0.tgz
NetBSD 10.0vaxgmp-6.3.0.tgz
NetBSD 10.0vaxgmp-6.3.0.tgz
NetBSD 10.0x86_64gmp-6.3.0.tgz
NetBSD 10.0x86_64gmp-6.3.0.tgz
NetBSD 9.0aarch64gmp-6.3.0.tgz
NetBSD 9.0aarch64gmp-6.3.0.tgz
NetBSD 9.0alphagmp-6.3.0.tgz
NetBSD 9.0alphagmp-6.3.0.tgz
NetBSD 9.0earmv4gmp-6.3.0.tgz
NetBSD 9.0earmv4gmp-6.3.0.tgz
NetBSD 9.0earmv4gmp-6.3.0.tgz
NetBSD 9.0earmv6hfgmp-6.3.0.tgz
NetBSD 9.0earmv6hfgmp-6.3.0.tgz
NetBSD 9.0earmv6hfgmp-6.3.0.tgz
NetBSD 9.0earmv7hfgmp-6.3.0.tgz
NetBSD 9.0earmv7hfgmp-6.3.0.tgz
NetBSD 9.0earmv7hfgmp-6.3.0.tgz
NetBSD 9.0i386gmp-6.3.0.tgz
NetBSD 9.0i386gmp-6.3.0.tgz
NetBSD 9.0m68kgmp-6.3.0.tgz
NetBSD 9.0m68kgmp-6.3.0.tgz
NetBSD 9.0m68kgmp-6.3.0.tgz
NetBSD 9.0m68kgmp-6.3.0.tgz
NetBSD 9.0powerpcgmp-6.3.0.tgz
NetBSD 9.0powerpcgmp-6.3.0.tgz
NetBSD 9.0powerpcgmp-6.3.0.tgz
NetBSD 9.0sparc64gmp-6.3.0.tgz
NetBSD 9.0sparc64gmp-6.3.0.tgz
NetBSD 9.0x86_64gmp-6.3.0.tgz
NetBSD 9.0x86_64gmp-6.3.0.tgz
NetBSD 9.3x86_64gmp-6.3.0.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

gmp-fat
Build-in all x86 assembler code, detecting CPU at run-time.
mmx
Enable MMX support (x86 only).
simd
Enable use of SIMD vector instructions.

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.