title: How to represent a negative number with a fraction in 2's complement?
body: <p>So I want to represent the number <code>-12.5</code>. So 12.5 equals to:</p>
  
  <pre><code>001100.100
  </code></pre>
  
  <p>If I don't calculate the fraction then it's simple, <code>-12</code> is:</p>
  
  <pre><code>110100
  </code></pre>
  
  <p>But what is -12.5? is it <code>110100.100</code>? How can I calculate this negative fraction?</p>