title: how to split 64bit integer to two 32bit integers
body: <p>I want to split a 64bit integer into two 32bit integers:</p>
  
  <pre><code>var bigInt = 0xffffff;
  
  var highInt = bigInt &gt;&gt; 8 // get the high bits 0xfff
  var lowInt = bigInt // cut of the first part (with &amp;)?
  
  console.log(highInt); // 0xfff
  console.log(lowInt); // 0xfff
  
  // set them together again
  var reBigInt = (highInt &lt;&lt; 8) + lowInt;
  </code></pre>
  
  <p>Unfortunately neither getting the highInt nor getting the lowInt works... Could somebody give me the answer how I need to use the bitwise operators?</p>
  
  <p>regards</p>