- 2 Shift left:
int operator <<(int x, int count); uint operator <<(uint x, int count); long operator <<(long x, int count); ulong operator <<(ulong x, int count);

3 The << operator shifts x left by a number of bits computed as described below. 4 The high-order bits outside the range of the result type of x are discarded, the remaining bits are shifted left, and the low-order empty bit positions are set to zero. - 5 Shift right:
int operator >>(int x, int count); uint operator >>(uint x, int count); long operator >>(long x, int count); ulong operator >>(ulong x, int count);

6 The >> operator shifts x right by a number of bits computed as described below. 7 When x is of type int or long, the low-order bits of x are discarded, the remaining bits are shifted right, and the high-order empty bit positions are set to zero if x is non-negative and set to one if x is negative. 8 When x is of type uint or ulong, the low-order bits of x are discarded, the remaining bits are shifted right, and the high-order empty bit positions are set to zero.

- 2 When the type of x is int or uint, the shift count is given by the low-order five bits of count. 3 In other words, the shift count is computed from count & 0x1F.
- 4 When the type of x is long or ulong, the shift count is given by the low-order six bits of count. 5 In other words, the shift count is computed from count & 0x3F.

| |

Jagger Software Ltd | |

Company # 4070126 | |

VAT # 762 5213 42 |