Java Signed Right Shift
<p>I have seen this in a java code.</p>

<pre><code>int n = 300 //passed through a function
size = (n + 31) &gt;&gt; 5 //size = 10
</code></pre>

<p>what could be the significance of <code>5</code>?
What is the significance of <code>31</code> //should something to do with int size (31 bit + 1 sign)</p>

<p>Thanks</p>
