OK, I got it. But I don't think I have cases like this one.
I mean - I never get some negative value during my
calculations, at least if I am not doing something wrong.
In math (-1) % 3 = 2. In programming languages it equals -1.
In math the residues modulo N are always
considered members of the set {0, 1, ..., N-1}.
