Help for this page

Select Code to Download


  1. or download this
    $ perl -Mbignum=a,50 -wle'print hex("0xbe91cfb586466d02")'
    Integer overflow in hexadecimal number at -e line 1.
    Hexadecimal number > 0xffffffff non-portable at -e line 1.
    1.37319851173781e+19
    
  2. or download this
    $ perl -MMath::BigInt -wle'print hex(Math::BigInt->new("0xbe91cfb58646
    +6d02"))'
    Integer overflow in hexadecimal number at -e line 1.
    Hexadecimal number > 0xffffffff non-portable at -e line 1.
    9.18481776382103e+22
    
  3. or download this
    $ perl -Mbigint -wle'print 0+"0xbe91cfb586466d02"'
    13731985117378145538
    
  4. or download this
    $ perl -MMath::BigInt -wle'print Math::BigInt->new(0)+"0xbe91cfb586466
    +d02"'
    13731985117378145538
    
  5. or download this
    $ perl -MMath::BigInt -wle'print Math::BigInt->new(0)->badd(Math::BigI
    +nt->new("0xbe91cfb586466d02"))'
    13731985117378145538
    
  6. or download this
    $ perl -MMath::BigInt -wle'print Math::BigInt->new("0xbe91cfb586466d02
    +")'
    13731985117378145538