If the value is > 2^63 then we need to work out its value mod 2pi, and apply the operation to that instead.