Math::BigInt::GMP(3pm)

Math::BigInt::GMP3pm

Backend library for math::bigint etc. based on gmp

Usage

    # 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';

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.

  1. 3.1
  2. 4.0
  3. 5.0–6.0
  4. 7
  5. 8
  6. 9
  7. 10
  8. 11
  9. 12
  10. 13

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.

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 <[email protected]> 2010-2021.

gmp_version() provided by FGasper on GitHub.

From libmath-bigint-gmp-perl 1.7003-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.