Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

Math::BigInt::Calc (3)

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

Perl Programmers Reference Guide                         Math::BigInt::Calc(3)



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].


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+-----------------------+
       |ATTRIBUTE TYPE |   ATTRIBUTE VALUE     |
       +---------------+-----------------------+
       |Availability   | runtime/perl-532      |
       +---------------+-----------------------+
       |Stability      | Pass-through volatile |
       +---------------+-----------------------+

SEE ALSO
       Math::BigInt::Lib for a description of the API.

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

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



NOTES
       Source code for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       http://www.cpan.org/src/5.0/perl-5.32.0.tar.gz.

       Further information about this software can be found on the open source
       community website at https://www.perl.org/.



perl v5.32.0                      2020-06-14             Math::BigInt::Calc(3)