Reducing will make the case 2 ^ n, to give the result 2 ^ n instead of 2 ^ (n + 1). This does not correspond to the increment at the end.
The part between decrement and increment actually tries to fill the entire bit, which is less significant than the most significant bit, which is 1. The most significant bit, which is 1, will gradually spread after each line and will fill less and less Important bits on the last line.
An increment is to get the result of the next highest degree 2.
source share