Modulo N arithmetic, with N being either (2**n)-1,2**n or (2**n)+1