2’s complement data format convertion

That's the commonly used signed integer representation. It has a single 0 value and one negative member more than positive members.

The 1's complement has distinct +0 and -0 and the same number of positive and negative members. Like this (sign+magnitude) is still in use with floating point numbers but not with integral numbers.

1 Like