We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
0182315
Applying left shift operator on a negative value is an UB. The algorithm (step 3) describes how to properly encode negative values.