Quote:
Originally Posted by StainlessS
My natural inclination when using up shift would be to fill the 'nullified' least signifcant bits in destination number with the most significant bits from source number.
But, that aint right, apparently.
|
The problem with that - mathematically speaking, anyway - is that it would make 8 bit->16 bit different from 8-bit->12 bit->16 bit, for example.
Code:
10111111 -> 1011111110111111
10111111 -> 101111111011 -> 1011111110111011