Two’s complement math eliminates the end
around carry of the SignMagnitude method,
which uses only one complement math, and
the two forms of SignMagnitude zero are
reduced to only one zero.
As always, I could be wrong.
1111 1111 (1)
1111 1111 (1)
==== ==== +
1111 1110 (2)
0000 0010 (+2)
1111 1111
==== ==== XOR
1111 1101 (3) Ones Complement
0000 0001 (+1)
==== ==== +
1111 1110 (2) Twos Complement
0000 0001 (+1)
1111 1111
==== ==== XOR
1111 1110 (2) Ones Complement
0000 0001 (+1)
==== ==== +
1111 1111 (1) Twos Complement
0000 0000 (0)
1111 1111
==== ==== XOR
1111 1111 (1) Ones Complement
0000 0001 (+1)
==== ==== +
0000 0000 (0) Twos Complement
The long list of data was provided as a
way to determine correct slope of the
equation by slowly twisting the distributor until
a P1345 DTC is triggered then comparing
its raw hex response at a known degree
against the posted equations.
I believe the latter equations are more likely
to be accurate.
https://en.m.wikipedia.org/wiki/Two%27s_complement
Edited.
