Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - What are the high and low bits in the shift operation?
What are the high and low bits in the shift operation?
Bit operation. Even if a decimal number is entered, it is stored in memory in binary form.

Usage of "<& lt":

The format is: a; =0。

Function: shift the integer a to the left by m bits according to the binary bit, and after the high bit is shifted out, the low bit is supplemented by 0.

"> > usage:

The format is: a>& gtm, a and m m > are integer expressions, and m > is required; =0。

Function: according to the binary bit, shift the integer A to the right by m bits, and make up 0 for the high bit after the low bit shift.