Help for this page

Select Code to Download


  1. or download this
    $ perl -wMstrict -le '$,=", "; print 42, 0xFF, 0b1111, 42 + 0xFF + 0b1
    +111, 42 . 0xFF . 0b1111'
    42, 255, 15, 312, 4225515
    
  2. or download this
    $ perl -wMstrict -le 'print 0xFFFFFFFF'
    4294967295
    ...
    Integer overflow in hexadecimal number at -e line 1.
    Hexadecimal number > 0xffffffff non-portable at -e line 1.
    2.95147905179353e+20
    
  3. or download this
    $ perl -wMstrict -le 'print hex( "0x".("F" x 2**29) )'
    Integer overflow in hexadecimal number at -e line 1.
    Hexadecimal number > 0xffffffff non-portable at -e line 1.
    Inf