-
-
17 May 2022 14:26:07 UTC
- Distribution: Math-BigInt-GMP
- Module version: 1.6011
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (1)
- Testers (24 / 0 / 0)
- Kwalitee
Bus factor: 1- % Coverage
- License: perl_5
- Perl: v5.8.0
- Activity
24 month- Tools
- Download (2.47MB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Carp
- Math::BigInt
- XSLoader
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Math::BigInt::GMP - backend library for Math::BigInt etc. based on GMP
SYNOPSIS
# to use it with Math::BigInt use Math::BigInt lib => 'GMP'; # to use it with Math::BigFloat use Math::BigFloat lib => 'GMP'; # to use it with Math::BigRat use Math::BigRat lib => 'GMP';
DESCRIPTION
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
.BUGS
Please report any bugs or feature requests to
bug-math-bigint-gmp at rt.cpan.org
, or through the web interface at https://rt.cpan.org/Ticket/Create.html?Queue=Math-BigInt-GMP (requires login). We will be notified, and then you'll automatically be notified of progress on your bug as I make changes.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:
LICENSE
This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
AUTHORS
Tels <http://bloodgate.com/> in 2001-2007.
Thanks to Chip Turner (CHIPT on CPAN) for providing Math::GMP, which was inspiring my work.
Maintained by Peter John Acklam <pjacklam@gmail.com> 2010-2021.
gmp_version() provided by FGasper on GitHub.
SEE ALSO
Math::BigInt::Lib for a description of the API.
Alternative libraries Math::BigInt::Calc, Math::BigInt::FastCalc, and Math::BigInt::Pari.
Some of the modules that use these libraries Math::BigInt, Math::BigFloat, and Math::BigRat.
Module Install Instructions
To install Math::BigInt::GMP, copy and paste the appropriate command in to your terminal.
cpanm Math::BigInt::GMP
perl -MCPAN -e shell install Math::BigInt::GMP
For more information on module installation, please visit the detailed CPAN module installation guide.