BSD Ports

math/p5-Math-GMPq 0.63 DragonFly

Perl interface to the GMP library rational (mpq) functions

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

Description

Math::GMPq is a bigrational module utilising the GNU MP (GMP) library. Basically this module simply wraps all of the mpq rational functions provided by that library. See the Math::GMPq test suite for some examples of usage.

IMPORTANT: If your perl was built with '-Duse64bitint' you need to assign all integers larger than 52-bit in a 'use integer;' block. Failure to do so can result in the creation of the variable as an NV (rather than an IV) - with a resultant loss of precision.

In the other systems

SystemPortVersion
DragonFlymath/p5-Math-GMPq0.63
FreeBSDmath/p5-Math-GMPq0.70

Install

Binary package:

pkg install p5-Math-GMPq

From DPorts:

cd /usr/dports/math/p5-Math-GMPq && make install clean

Dependencies

Run dependencies 2

No port depends on this one.