Suppose we have a continuous process where we increment an unsigned char +1 or -1 and we want it to always stay in a range between 0 , 2^n -
+1
-1
0 , 2^n -