It is easy to see that the signed interpretation of the sequence numbers are in the correct order, so long as we "rotate" the sequence number in question so that its 0 matches up with the sequence number we are comparing it against. It turns out that this is simply done using an unsigned subtraction and simply interpreting the result as a signed two's complement number. The result is the signed "distance" between the two sequence numbers. Once again, if codice_1 and codice_2 are the unsigned binary representations of the sequence numbers "s"1 and "s"2, the distance from "s"1 to "s"2 is