On Fri, 9 Nov 2018 09:31:58 +0100 Tomas Kral <thomas.kral at email.cz> wrote: > c := ASR(c, -(x MOD ppw * 4)) MOD 10H; this did it c := ASR(c, x MOD ppw * 4) MOD 10H; with no (-) complement No, I wonder how much it matters, the order of directions, we pick, e.g. S - N - W - E? -- Tomas Kral <thomas.kral at email.cz>