Good catch.

2's complement integers are generally useful but it's easy to
forget that they don't quite obey normal algebraic rules.
The assumption that
        (a < 0) => (-a > 0)
is the cause of many easily-missed bugs.


Reply via email to