Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Math::BigInt::Calc

Name Math::BigInt::Calc
Version 1.999811
Located at /usr/share/perl5/vendor_perl
File /usr/share/perl5/vendor_perl/Math/BigInt/Calc.pm
Is Core No
Search CPAN for this module Math::BigInt::Calc
Documentation Math::BigInt::Calc
Module Details Math::BigInt::Calc


NAME

Math::BigInt::Calc - Pure Perl module to support Math::BigInt


SYNOPSIS

    # to use it with Math::BigInt
    use Math::BigInt lib => 'Calc';
    # to use it with Math::BigFloat
    use Math::BigFloat lib => 'Calc';
    # to use it with Math::BigRat
    use Math::BigRat lib => 'Calc';


DESCRIPTION

Math::BigInt::Calc inherits from Math::BigInt::Lib.

In this library, the numbers are represented in base B = 10**N, where N is the largest possible value that does not cause overflow in the intermediate computations. The base B elements are stored in an array, with the least significant element stored in array element zero. There are no leading zero elements, except a single zero element when the number is zero.

For instance, if B = 10000, the number 1234567890 is represented internally as [7890, 3456, 12].


SEE ALSO

the Math::BigInt::Lib manpage for a description of the API.

Alternative libraries the Math::BigInt::FastCalc manpage, the Math::BigInt::GMP manpage, and the Math::BigInt::Pari manpage.

Some of the modules that use these libraries the Math::BigInt manpage, the Math::BigFloat manpage, and the Math::BigRat manpage.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2024