Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - Plastic data overflow. In vc6.0, the maximum allowable value of an int variable is 2 147483647. If you add 1, the result is as follows.
Plastic data overflow. In vc6.0, the maximum allowable value of an int variable is 2 147483647. If you add 1, the result is as follows.
Shaping is stored with two's complement.

The complement of 2 147483647 is 0111111. 438+01111111equals.

10000000 00000000 00000000 00000000

The most significant bit of 1 is the sign bit and becomes negative.

10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000