The comparison with -1?

How to check that the number modulo (modulo) will give -1 ? If I work with liboy, which can't prescribe obviously -1.

Whether correctly if I compare the number with the (modulus - 1) == 0 - what is it?
April 19th 20 at 12:29
0 answer

Find more questions by tags Algorithms