Help for this page

Select Code to Download


  1. or download this
    $ perl -e 'print 10000000000000001, $/'
    1e+16
    ...
    1e+16
    $ perl -e 'print 10000000000000000, $/'
    1e+16
    
  2. or download this
    Scalars holding numbers may also be passed, but note that non-integer 
    +numbers
    may already have lost precision due to the conversation to float. Quot
    +e your
    ...
    
            $x = Math::BigInt->new(12345678890123456789);   # bad
            $x = Math::BigInt->new('12345678901234567890'); # good