
Math Discussion forum for anything math related. 

Thread Tools  Display Modes 
#11




The endaroundcarry means that you take the carry bit and add it to the result of the addition. In 4bit words
So here we have a 4bit result of 0101 == 5 and a carry Code:
0 1 0 1 > Result of 5 + 0 0 0 1 > Carry from the original addition  0 1 1 0 > True result of 6Select All
__________________
We never have time to do it right, But we always have time to do it over. 
The Following User Says Thank You to Papabravo For This Useful Post:  
PG1995 (10182011) 
#12




Thank you very much, GeoRacer, MrChips, Papabravo.
I'm sorry to say this but I'm still a bit confused. But the good thing is I can understand the topic in my book. What I'm inquiring about here is for my personal learning. But as advised by GeoRacer I won't pursue the topic further after finishing this discussion. Please be patient! Thanks. In binary system 2's complement is the maximum complement one can find. I mean to say you can't think of finding 3's complement in base 2. As I have been told 2's complement doesn't give create any problem as compared to 1's complement which has two representation for 0. I'm just curious to know if this also happens in other bases such as base 10 that using, say, 4's complement gives problems such as two representation for 0. Quote:
Do we discard carry in case of decimal too if there is one? Quote:
Quote:
Suppose I want to do (4 x 2 = 8) using complementary method. What would be 4's complement? 96 or 6? I'm saying this because (4+96=100) and (4+6=10). 
#13




If you want signed numbers, you will have to either divide your value range in half or double the number of states.
So if we want 0 to 99 in both positive and negative: 0 0 1 1 : : 99 99 100 100 101 99 : : 191 9 192 8 193 7 194 6 195 5 196 4 197 3 198 2 199 1 So 4 x 2 is 196 x 2 = 392 = 8
__________________
Most computer problems can be attributed to a simple problem  a loosewire behind the keyboard. 
#14




@PG1995
You quoted it yourself: Quote:
What you did wrong is the calculation of the complement. I know that 3+6 isn't equal to 10, but your source's method works, so I 'll stick to it. As I said, I don't master the art of enumeration methods and numerical analysis.
__________________
. I am a prisoner of high standards and low social skills____________________________________ I wish I was the best at what I would do, and what I would do wouldn't be pretty. 
Tags 
binary, complements, numbers 
Related Site Pages  
Section  Title  
Worksheet  Digital codes  
Worksheet  Binary math  
Worksheet  Numeration systems  
Textbook  Finitestate machines : Principles Of Digital Computing  
Textbook  Binary count sequence : Sequential Circuits Counters  
Textbook  7segment display : Digital Integrated Circuits  
Textbook  Overflow : Binary Arithmetic  
Textbook  Subtraction : Binary Arithmetic  
Textbook  Negative binary numbers : Binary Arithmetic  
Textbook  Octal and hexadecimal numeration : Numeration Systems 
Thread Tools  
Display Modes  

