// Minetest uses 16-bit sequence numbers that wrap around.
// To simplify reasoning about sequence numbers, translate
// them into 64-bit unique ids.
pub
/// Determine the distance from sequence number a to b.
/// Sequence numbers are modulo 65536, so this is the
/// unique value d in the range -32768 < d <= 32768
/// with: a + d = b (mod 65536)
pub