title: What's the range of numbers we can represent with N bits?
body: <p>For unsigned integers we can represent numbers ranging from </p>
  
  <p>0 to 2<sup>N</sup> - 1</p>
  
  <p>And for signed integers like two's complement the range is</p>
  
  <p>-2<sup>(N-1)</sup> to 2<sup>(N-1)</sup> - 1</p>
  
  <p>How is the signed range calculated?</p>