Skip to content

Properly handle negative values

Compare
Choose a tag to compare
@vahancho vahancho released this 05 Oct 08:27
· 6 commits to master since this release
0182315

Applying left shift operator on a negative value is an UB. The algorithm (step 3) describes how to properly encode negative values.