{
    "mode": "perldoc",
    "parameter": "Math::BigInt::GMP",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Math%3A%3ABigInt%3A%3AGMP/json",
    "generated": "2026-06-10T16:25:41Z",
    "synopsis": "# to use it with Math::BigInt\nuse Math::BigInt lib => 'GMP';\n# to use it with Math::BigFloat\nuse Math::BigFloat lib => 'GMP';\n# to use it with Math::BigRat\nuse Math::BigRat lib => 'GMP';",
    "sections": {
        "NAME": {
            "content": "Math::BigInt::GMP - backend library for Math::BigInt etc. based on GMP\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "# to use it with Math::BigInt\nuse Math::BigInt lib => 'GMP';\n\n# to use it with Math::BigFloat\nuse Math::BigFloat lib => 'GMP';\n\n# to use it with Math::BigRat\nuse Math::BigRat lib => 'GMP';\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Math::BigInt::GMP is a backend library for Math::BigInt, Math::BigFloat, Math::BigRat and\nrelated modules.\n\nMath::BigInt::GMP provides support for big integer calculations by means of the GMP C library.\nSee <https://gmplib.org/> for more information about the GMP library.\n\nMath::BigInt::GMP no longer uses Math::GMP, but provides its own XS layer to access the GMP C\nlibrary. This cuts out another (Perl subroutine) layer and also reduces the memory footprint.\n\nMath::BigInt::GMP inherits from Math::BigInt::Lib.\n",
            "subsections": []
        },
        "STATIC FUNCTIONS": {
            "content": "$str = gmpversion();\nReturns the underlying GMP library's version as a string, e.g., 6.2.1.\n",
            "subsections": []
        },
        "BUGS": {
            "content": "Please report any bugs or feature requests to \"bug-math-bigint-gmp at rt.cpan.org\", or through\nthe web interface at <https://rt.cpan.org/Ticket/Create.html?Queue=Math-BigInt-GMP> (requires\nlogin). We will be notified, and then you'll automatically be notified of progress on your bug\nas I make changes.\n",
            "subsections": []
        },
        "SUPPORT": {
            "content": "After installing, you can find documentation for this module with the perldoc command.\n\nperldoc Math::BigInt::GMP\n\nYou can also look for information at:\n\nGitHub\n<https://github.com/pjacklam/p5-Math-BigInt-GMP>\n\nRT: CPAN's request tracker\n<https://rt.cpan.org/Dist/Display.html?Name=Math-BigInt-GMP>\n\nMetaCPAN\n<https://metacpan.org/release/Math-BigInt-GMP>\n\nCPAN Testers Matrix\n<http://matrix.cpantesters.org/?dist=Math-BigInt-GMP>\n\nCPAN Ratings\n<https://cpanratings.perl.org/dist/Math-BigInt-GMP>\n",
            "subsections": []
        },
        "LICENSE": {
            "content": "This program is free software; you may redistribute it and/or modify it under the same terms as\nPerl itself.\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "Tels <http://bloodgate.com/> in 2001-2007.\n\nThanks to Chip Turner (CHIPT on CPAN) for providing Math::GMP, which was inspiring my work.\n\nMaintained by Peter John Acklam <pjacklam@gmail.com> 2010-2021.\n",
            "subsections": [
                {
                    "name": "gmp_version",
                    "content": ""
                }
            ]
        },
        "SEE ALSO": {
            "content": "Math::BigInt::Lib for a description of the API.\n\nAlternative libraries Math::BigInt::Calc, Math::BigInt::FastCalc, and Math::BigInt::Pari.\n\nSome of the modules that use these libraries Math::BigInt, Math::BigFloat, and Math::BigRat.\n",
            "subsections": []
        }
    },
    "summary": "Math::BigInt::GMP - backend library for Math::BigInt etc. based on GMP",
    "flags": [],
    "examples": [],
    "see_also": []
}