Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - Conversion between unsigned integer and signed integer
Conversion between unsigned integer and signed integer
This conversion mainly depends on the storage form in memory, and is generally a direct conversion. . . . . The complement of-16 in memory is11111165438+.

In addition, remember 65535+1= 0; - 16=0+(- 16) =

65535+ 1- 16=65520;

42486 =1010111010/kloc-0. . . The signed number range is 32767-32768 42486 = 9719+32767 = 9718+(1+32767) = 9718+(-32768) =