title: What is the difference between bit shifting and arithmetical operations?
body: <pre><code>int aNumber;
  
  aNumber = aValue / 2;
  aNumber = aValue &gt;&gt; 1;
  
  aNumber = aValue * 2;
  aNumber = aValue &lt;&lt; 1;
  
  aNumber = aValue / 4;
  aNumber = aValue &gt;&gt; 2;
  
  aNumber = aValue * 8;
  aNumber = aValue &lt;&lt; 3;
  
  // etc.
  </code></pre>
  
  <p>Whats is the "best" way to do operations? When is better to use bit shifting?</p>