devel/gmp 6.3.0p0 OpenBSD
library for arbitrary precision arithmetic
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- Christian Weisgerber <[email protected]>
- Last update
- Commit
372279dc51- Categories
- devel, math
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.
The mpfr library is no longer bundled with gmp, but exists as a separate package instead.
In the other systems
Install
Binary package:
pkg_add gmp
From the ports tree:
cd /usr/ports/devel/gmp && make install
Dependencies
Build dependencies 2
Required by 95
- cad/geda-gaf
- cad/openscad
- cad/prusaslicer
- comms/gnuradio
- devel/alex
- devel/avr32/gcc
- devel/avr32/gcc-bootstrap
- devel/cabal-bundler
- devel/cabal-install
- devel/cln
- devel/cpphs
- devel/darcs
- devel/git-annex
- devel/glpk
- devel/happy
- devel/hasktags
- devel/libmpc
- devel/mpfr
- devel/riscv32-esp-elf/gcc
- devel/riscv32-esp-elf/gcc-bootstrap
- devel/shellcheck
- devel/xtensa-esp32-elf/gcc
- devel/xtensa-esp32-elf/gcc-bootstrap
- devel/xtensa-esp32s2-elf/gcc
- devel/xtensa-esp32s2-elf/gcc-bootstrap
- devel/xtensa-esp32s3-elf/gcc
- devel/xtensa-esp32s3-elf/gcc-bootstrap
- devel/xtensa-lx106-elf/gcc
- devel/xtensa-lx106-elf/gcc-bootstrap
- editors/TeXmacs
- editors/emacs
- games/gnubg
- games/luanti
- geo/sfcgal
- graphics/blender
- lang/bootgcc
- lang/ecl
- lang/gawk
- lang/gcc/16
- lang/ghc
- lang/gnucobol
- lang/gpc
- lang/guile
- lang/guile2
- lang/guile3
- lang/librep
- lang/polyml
- lang/ruby/3.3
- lang/ruby/3.4
- lang/ruby/4.0
- lang/swi-prolog
- math/4ti2
- math/cddlib
- math/cgal
- math/ecm
- math/flintlib
- math/igraph
- math/isl
- math/lrs
- math/ntl
- math/ocaml-zarith
- math/p5-Math-BigInt-GMP
- math/p5-Math-GMP
- math/p5-Math-GMPf
- math/p5-Math-GMPz
- math/p5-Math-Prime-Util-GMP
- math/pari
- math/py-gmpy2
- math/rocq
- math/wcalc
- multimedia/mkvtoolnix
- net/fzssh
- net/i2p
- net/ktorrent
- net/libktorrent
- net/matterhorn
- net/neatvnc
- net/strongswan
- productivity/aqbanking
- productivity/hledger
- productivity/kmymoney
- productivity/ledger
- productivity/libalkimia
- security/libnettle
- security/nettle
- security/py-cryptodomex
- security/sequoia-sq
- security/ssss
- textproc/pandoc
- x11/gnustep/base
- x11/gtk-vnc
- x11/kde-applications/kcalc
- x11/kde-applications/kget
- x11/xmobar
- x11/xmonad