There was an error while loading. Please reload this page.
0182315
Applying left shift operator on a negative value is an UB. The algorithm (step 3) describes how to properly encode negative values.