Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - A is a long integer, A= 16384*2. Why does it overflow?
A is a long integer, A= 16384*2. Why does it overflow?
When a is a long integer, it is a double address unit. A unit can store 8-bit binary bytes, one of which is a symbol address, so the actual number of bits stored in a long integer is 15, so the maximum number of bits that can be stored in a long integer is 15, and the decimal number is 32767.

16384*2=32768, of which only 1 bit overflowed.