Math::BigInt::GMP3pm
Backend library for math::bigint etc. based on gmp
Usage
# to use it with Math::BigIntuse Math::BigInt lib => 'GMP';# to use it with Math::BigFloatuse Math::BigFloat lib => 'GMP';# to use it with Math::BigRatuse Math::BigRat lib => 'GMP';
Overview
Math::BigInt::GMP is a backend library for Math::BigInt, Math::BigFloat, Math::BigRat and related modules.
Math::BigInt::GMP provides support for big integer calculations by means of the GMP C library. See <https://gmplib.org/> for more information about the GMP library.
Math::BigInt::GMP no longer uses Math::GMP, but provides its own XS layer to access the GMP C library. This cuts out another (Perl subroutine) layer and also reduces the memory footprint.
Math::BigInt::GMP inherits from Math::BigInt::Lib.
Static functions
$str = gmp_version();
Returns the underlying GMP library's version as a string, e.g., 6.2.1.
Support
After installing, you can find documentation for this module with the perldoc command.
perldoc Math::BigInt::GMP
You can also look for information at:
GitHub
|
<https://github.com/pjacklam/p5-Math-BigInt-GMP> |
|---|---|
RT: CPAN's request tracker
|
<https://rt.cpan.org/Dist/Display.html?Name=Math-BigInt-GMP> |
MetaCPAN
|
<https://metacpan.org/release/Math-BigInt-GMP> |
CPAN Testers Matrix
|
<http://matrix.cpantesters.org/?dist=Math-BigInt-GMP> |
Releases
11 releases since Debian 3.1 (Sarge); the text changed 9 times.