|
|
От: |
pugv
|
|
| Дата: | 15.07.21 15:54 | ||
| Оценка: | |||
The result of a shift operation is undefined if additive-expression is negative or if additive-expression is greater than or equal to the number of bits in the (promoted) shift-expression.
unsigned int int4 = int1 << 32; // C4293: '<<' : shift count negative or too big, undefined behavior