You could just store using offsets instead. You don&#x27;t have to do sign bit.<p>2 bit example:<p>00 =&gt; -1
01 =&gt; 0
10 =&gt; 1
11 =&gt; 2<p>or:
2 bit example:<p>00 =&gt; -2
01 =&gt; -1
10 =&gt; 0
11 =&gt; 1<p>This even wrapsaround naturally.