Because it simply calculates the remainder after division by full turn, it shouldn't take time proportional to the magnitude of its operand.