`mod -10 3` should be equal to `-1`, because: `(-10 / 3)|0 = -3` `-3 * 3 = -9` And by law: `-9 + (mod -10 3) = -10` Therefore, `mod -10 3 = -1`.
mod -10 3should be equal to-1, because:(-10 / 3)|0 = -3-3 * 3 = -9And by law:
-9 + (mod -10 3) = -10Therefore,
mod -10 3 = -1.