NAME
SYNOPSIS
DESCRIPTIONOptions
Methods
Caveats
Math Library
INTERNAL FORMAT
SIGN
CAVEATS
MODULES USED
EXAMPLES
LICENSE
SEE ALSO
AUTHORS
NAME
bignum - Transparent BigNumber support for Perl
SYNOPSIS
use bignum;
$x = 2 + 4.5,"\n"; # BigFloat 6.5
print 2 ** 512 * 0.1,"\n"; # really is what you think it is
print inf * inf,"\n"; # prints inf
print NaN * 3,"\n"; # prints NaN
{
no bignum;
print 2 ** 256,"\n"; # a normal Perl scalar now
}
# for older Perls, import into current pack