No! The number is 2 16. Unless 0x0000 is excluded.
According to the summation formula of equal scale example ...
There is no need to be so complicated.
_ Heaven and Earth _ What you said is basically correct.
N-bit p-type numbers correspond to p n different information. The first bit of a signed integer is a sign bit, but it does not affect the sum of values. Because it has been guaranteed that there are no duplicate ints in any integer range. So the binary number 16 represents two different numbers 16. According to the coding convention of signed integers (non-negative numbers take the original code and negative numbers take the complement (the result of bitwise inversion is 1), the extra +0 (both the sign bit and the numerical bit are 1, here is 0 ... 0……0x7fff) represents the reciprocal of the numerical power of 2, here is-2 (16).