signed binary code

noun
UK /saɪnd ˈbaɪnəri kəʊd/
US /saɪnd ˈbaɪnəri koʊd/

A way to write numbers in binary where the first bit tells you if the number is positive or negative.

The computer stored -5 in signed binary code so it could tell it was a negative number.


OTHER MEANINGS

2. A binary encoding where one bit is reserved as a sign bit and the rest hold the magnitude.

In sign-magnitude signed binary code, 10000101 means -5.

3. Any binary scheme that can represent both positive and negative integers.

Two's complement is the most common form of signed binary code used in processors.

4. A coding method in which the leading bit indicates the sign of the value.

The programmer checked the sign bit of the signed binary code before adding the numbers.