Help for this page

Select Code to Download


  1. or download this
    node -e 'console.log(1<<30);'
    1073741824
    ...
    37419747328
    perl -e 'print 1169367104<<5, "\n"'
    37419747328 # same result
    
  2. or download this
    use Test::More;
    is(1169367104<<5, -1234958336, "simulated JS 32bit shift.");
    done_testing;