On 11/19/2013 09:20 PM, Sieghard wrote: > >> Yep. The highest order bit in a number in the "2's complement" encoding >> is the sign bit. > Ok, let's look at it this way. Then, what's the value of this lone sign bit? This is obvious.
Take a look at the predecessor of zero as done by the algorithm any (modern) ALU does with eight bits: 00000000 -> 11111111 : interpreted as signed: 0 -> -1, interpreted as unsigned 0 -> 255 (=2^8-1) with two bits: 00 -> 11 : interpreted as signed: 0 -> -1, interpreted as unsigned 0 -> 3 (=2^2-1) with one bits: 0 -> 1 : interpreted as signed: 0 -> -1, interpreted as unsigned 0 -> 1 (=2^1-1 ) -Michael ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk