>> encoding, the value (generally) varies between -(2^N) and (2^N)-1,
>> where N is the number of bits used to store the value. So a 16 bit
>> value will vary between -65536 and 65535. there are other ways of
>
>Errr, I think you meant  "... between -(2^(N-1)) and 2^(N-1)-1 ... "
>So you get a range between -32768 and 32767 for 16 bit signed
>or between 0 and 65536 for unsigned 16bit.

yes, indeed i did. sorry for the error. this reply is just to confirm
that alex is right, and i am wrong :)

Reply via email to