title: Bitwise Operator on positive and negative numbers
body: <pre><code>    -5 / 2 = -2
  
      -5 &gt;&gt; 1 = -3
  </code></pre>
  
  <p>I learn from my teacher that >>1 divides the number by 2. It works on positive number but it does not work on negative numbers. Can someone explain to me??</p>
  
  <p>Thanks</p>