Signed number definition
With a sign, if we present a binary number then it is known as a Signed number. Understanding a binary number is negative or positive it is essential.
In the decimal number system, we use the "+ "sign for representing a positive number and the "-" sign for representing a negative number.
But in the binary number system, an extra bit is used for representing any number which is positive or negative.
This extra bit is called a sign bit. Here are examples of a Signed number.
If the number is negative the sign bit is 1 and if the number is positive then the sign bit is positive.
Signed number example
With a sign, if we present a binary number then it is known as a Signed number. Understanding a binary number is negative or positive it is essential.
0 1 0 0 0 1 1 1
↑
It is a positive number because the sign bit is 0
1 1 0 1 1 0 0 1
↑
It is a negative number because the sign bit is 1
Now read about the compliment and its types.
0 Comments