Comment Comment by flupe The problem is not solved by using unsigned ints though, because it stems from integer overflow. I'm afraid your implementations are, alas, also incorrect. parent flupe 4 years ago