Negative number | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Negative number

I would like to know are there how many official method to express negative number in binary system. Anyone know it , could you tell me this.Thank you.

17th Apr 2020, 11:56 AM
Ueda
2 Answers
+ 2
Till now what i have known is 1)In binary if a number is positive the signed bit(left most bit) is 0 and 1 for negative. I have used this technique in Booth's algorithm in my college curriculum .. Negative representation:https://cs.calvin.edu/activities/books/rit/chapter5/negative.htm This link does confirm this.. But if I'm wrong feel free to correct me... Booth's algo:https://en.m.wikipedia.org/wiki/Booth's_multiplication_algorithm
18th Apr 2020, 5:09 PM
$hardul B
$hardul B - avatar
+ 2
Thank you for the answer.I will see what you tell me.👏
18th Apr 2020, 10:07 PM
Ueda