{
    "mode": "perldoc",
    "parameter": "Math::BigInt::FastCalc",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Math%3A%3ABigInt%3A%3AFastCalc/json",
    "generated": "2026-08-06T11:59:06Z",
    "synopsis": "# to use it with Math::BigInt\nuse Math::BigInt lib => 'FastCalc';\n# to use it with Math::BigFloat\nuse Math::BigFloat lib => 'FastCalc';\n# to use it with Math::BigRat\nuse Math::BigRat lib => 'FastCalc';",
    "sections": {
        "NAME": {
            "content": "Math::BigInt::FastCalc - Math::BigInt::Calc with some XS for more speed\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "# to use it with Math::BigInt\nuse Math::BigInt lib => 'FastCalc';\n\n# to use it with Math::BigFloat\nuse Math::BigFloat lib => 'FastCalc';\n\n# to use it with Math::BigRat\nuse Math::BigRat lib => 'FastCalc';\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Math::BigInt::FastCalc inherits from Math::BigInt::Calc.\n\nProvides support for big integer calculations. Not intended to be used by other modules. Other\nmodules which sport the same functions can also be used to support Math::BigInt, like\nMath::BigInt::GMP or Math::BigInt::Pari.\n\nIn order to allow for multiple big integer libraries, Math::BigInt was rewritten to use library\nmodules for core math routines. Any module which follows the same API as this can be used\ninstead by using the following:\n\nuse Math::BigInt lib => 'libname';\n\n'libname' is either the long name ('Math::BigInt::Pari'), or only the short version like 'Pari'.\nTo use this library:\n\nuse Math::BigInt lib => 'FastCalc';\n\nThe default behaviour is to chose the best internal representation of big integers, but the base\nlength used in the internal representation can be specified explicitly. Note that this must be\ndone before Math::BigInt is loaded. For example,\n\nuse Math::BigInt::FastCalc baselen => 3;\nuse Math::BigInt lib => 'FastCalc';\n",
            "subsections": []
        },
        "STORAGE": {
            "content": "Math::BigInt::FastCalc works exactly like Math::BigInt::Calc. Numbers are stored in decimal form\nchopped into parts.\n",
            "subsections": []
        },
        "METHODS": {
            "content": "The following functions are now implemented in FastCalc.xs:\n\nisodd         iseven        isone         iszero\nistwo         isten\nzero           one            two            ten\nacmp           len\ninc            dec\nstripzeros   copy\n",
            "subsections": []
        },
        "BUGS": {
            "content": "Please report any bugs or feature requests to \"bug-math-bigint-fastcalc at rt.cpan.org\", or\nthrough the web interface at <https://rt.cpan.org/Ticket/Create.html?Queue=Math-BigInt-FastCalc>\n(requires login). We will be notified, and then you'll automatically be notified of progress on\nyour bug as I make changes.\n",
            "subsections": []
        },
        "SUPPORT": {
            "content": "After installing, you can find documentation for this module with the perldoc command.\n\nperldoc Math::BigInt::FastCalc\n\nYou can also look for information at:\n\nGitHub\n<https://github.com/pjacklam/p5-Math-BigInt-FastCalc>\n\nRT: CPAN's request tracker\n<https://rt.cpan.org/Dist/Display.html?Name=Math-BigInt-FastCalc>\n\nMetaCPAN\n<https://metacpan.org/release/Math-BigInt-FastCalc>\n\nCPAN Testers Matrix\n<http://matrix.cpantesters.org/?dist=Math-BigInt-FastCalc>\n\nCPAN Ratings\n<https://cpanratings.perl.org/dist/Math-BigInt-FastCalc>\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": "Original math code by Mark Biggar, rewritten by Tels <http://bloodgate.com/> in late 2000.\n\nSeparated from Math::BigInt and shaped API with the help of John Peacock.\n\nFixed, sped-up and enhanced by Tels http://bloodgate.com 2001-2003. Further streamlining\n(apiversion 1 etc.) by Tels 2004-2007.\n\nMaintained by Peter John Acklam <pjacklam@gmail.com> 2010-2021.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Math::BigInt::Lib for a description of the API.\n\nAlternative libraries Math::BigInt::Calc, Math::BigInt::GMP, 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::FastCalc - Math::BigInt::Calc with some XS for more speed",
    "flags": [],
    "examples": [],
    "see_also": []
}