بسم الله الرحمن الرحيم
من الملاحظات الجميلة و ظريفة :
Rule #7 - Bit-wise Operators
None of the bit-wise operators (in other words, &, |, ~, ^, <<, and >>) shall be used to manipulate signed integer data.
// Don't do this ...
int8_t signed_data = -4;
signed_data >>= 1; // not necessarily -2
و الله المستعان و هو نعم المولى و نعم النصير