BSD Ports

math/p5-Math-GMP 2.25 OpenBSD

high speed arbitrary-size integer math

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
math, perl5

Description

Math::GMP is designed to be a drop-in replacement both for Math::BigInt and for regular integer arithmetic. Unlike BigInt, though, Math::GMP uses the GNU gmp library for all of its calculations, as opposed to straight Perl functions. This results in a speed increase of anywhere from 5 to 30 times.

A Math::GMP object can be used just as a normal numeric scalar would be -- the module overloads the normal arithmetic operators to provide as seamless an interface as possible.

In the other systems

SystemPortVersion
OpenBSDmath/p5-Math-GMP2.25
FreeBSDmath/p5-Math-GMP2.25
NetBSDmath/p5-Math-GMP2.25nb4
DragonFlymath/p5-Math-GMP2.25

Install

Binary package:

pkg_add p5-Math-GMP

From the ports tree:

cd /usr/ports/math/p5-Math-GMP && make install

Dependencies

Build dependencies 1
Run dependencies 1
Required by 1