Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - How to calculate the range of integer constants (decimals)?
How to calculate the range of integer constants (decimals)?
A negative number indicates that the form is a complement.

A positive number is the original code representation.

The plastic maximum is 0111111165438.

The fifteenth power of 2

1000 0000 0000 0000 is a negative number, calculated according to the complement. It is -32768.

The first bit is the sign bit.