BSD Ports

math/p5-Math-Prime-Util-GMP 0.52 DragonFly

Utilities related to prime numbers and factoring, using GMP

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
math, perl5
Package size
221.3 KiB, 544.7 KiB installed

Description

Math::Prime::Util::GMP is a module for number theory in Perl using GMP. This includes primality tests, getting primes in a range, factoring, and more.

These use GMP directly, so should be quite fast for bignums. This module is mainly intended to be used within Math::Prime::Util, but most functions can be easily used in independent C programs. Some, like factoring and primality proving, have explicit ways of compiling as standalone programs.

In the other systems

SystemPortVersion
DragonFlymath/p5-Math-Prime-Util-GMP0.52
FreeBSDmath/p5-Math-Prime-Util-GMP0.54
OpenBSDmath/p5-Math-Prime-Util-GMP0.53
NetBSDmath/p5-Math-Prime-Util-GMP0.54
HardenedBSDmath/p5-Math-Prime-Util-GMP0.54
GhostBSDmath/p5-Math-Prime-Util-GMP0.54

Install

Binary package:

pkg install p5-Math-Prime-Util-GMP

From DPorts:

cd /usr/dports/math/p5-Math-Prime-Util-GMP && make install clean

Dependencies

Run dependencies 2