Math::BigInt::GMP - backend library for Math::BigInt etc. based on GMP
# 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';
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.
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.
You can find documentation for this module with the perldoc command.
You can also look for information at:
bignum at lists.scsys.co.uk
This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
Tels <http://bloodgate.com/> in 2001-2007.
Thanks to Chip Turner (CHIPT on CPAN) for providing Math::GMP, which was inspiring my work.
Math::BigInt::Lib for a description of the API.