Peter John Acklam
and 1 contributors


Math::BigInt::GMP - Use the GMP library for Math::BigInt routines


Provides support for big integer calculations by means of the GMP c-library.

Math::BigInt::GMP now no longer uses Math::GMP, but provides it's own XS layer to access the GMP c-library. This cut's out another (perl sub routine) layer and also reduces the memory footprint by not loading Math::GMP and Carp at all.


Please report any bugs or feature requests to bug-math-bigint-gmp at, or through the web interface at (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.

    perldoc Math::BigInt::GMP

You can also look for information at:


This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.


Tels <> in 2001-2007.

Thanx to Chip Turner for providing Math::GMP, which was inspiring my work.


Math::BigInt, Math::BigFloat, and the other backends Math::BigInt::Calc, Math::BigInt::GMP, and Math::BigInt::Pari.

The other GMP modules Math::GMP, Math::GMPf, Math::GMPq, Math::GMPz