Hello all!
I'm having a little problem with binary numbers. The teacher didn't quite explain them to us (saying we won't need them during the course I'm currently taking). But I know they are very important, especially for courses later on.
I pretty much understood all the basic binary arithmetics such as addition, substraction, etc..
I just have a problem when it comes to the 1's complement of signed binary numbers. For example, if I have +3 written over 4 bits 0011, what is the notation (or respresentation maybe? I don't take the course in english so I don't know the write term for it) of 1's complement? Our teacher told us that is the same as +3, so the 1's complement of +3 is also 0011 for example. And he told us that the 1's complement notation of -3 is the 1's complement of +3 thus is 1100.
If this is wrong, then can someone please explain to me how to obtain the 1's complement of a positive and negative number?
Thank you in advance for all those who answer ^__^
I'm having a little problem with binary numbers. The teacher didn't quite explain them to us (saying we won't need them during the course I'm currently taking). But I know they are very important, especially for courses later on.
I pretty much understood all the basic binary arithmetics such as addition, substraction, etc..
I just have a problem when it comes to the 1's complement of signed binary numbers. For example, if I have +3 written over 4 bits 0011, what is the notation (or respresentation maybe? I don't take the course in english so I don't know the write term for it) of 1's complement? Our teacher told us that is the same as +3, so the 1's complement of +3 is also 0011 for example. And he told us that the 1's complement notation of -3 is the 1's complement of +3 thus is 1100.
If this is wrong, then can someone please explain to me how to obtain the 1's complement of a positive and negative number?
Thank you in advance for all those who answer ^__^
Comment