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
| System | Port | Version |
|---|---|---|
| OpenBSD | math/p5-Math-GMP | 2.25 |
| FreeBSD | math/p5-Math-GMP | 2.25 |
| NetBSD | math/p5-Math-GMP | 2.25nb4 |
| DragonFly | math/p5-Math-GMP | 2.25 |
Install
Binary package:
pkg_add p5-Math-GMP
From the ports tree:
cd /usr/ports/math/p5-Math-GMP && make install