i also didn't get fully...
what i get is that ..we cant shift -1 so we get its binary value and take 5 lower bits which is 31 and we can say that -1=31 with respect to shifting...
but why 31 is that is because we can shift maximum 31 digits so we take lower 5 bits which amounts to 31 but...didnt get
satisfied with the whole logic...
