Skip to main content
Stack Overflow
  1. About
  2. For Teams

Return to Answer

Post Timeline

Expanded. Formatted according to the original intent in Markdown source (as a result the diff looks more extensive than it really is - use view "side-by-side Markdown" to compare). [(its = possessive, it's = "it is" or "it has". See e.g. <https://www.wikihow.com/Use-Its-and-It%27s>.)]
Source Link
Peter Mortensen
  • 31.3k
  • 22
  • 110
  • 134

2'sTwo's complement of a given number is the no.number got by adding 1 with the 1's complementones' complement of the nonumber. suppose

Suppose, we have a binary no.number: 10111001101 It's

Its 1's complement is: 01000110010 And it's 2's

And its two's complement will be: 01000110011

2's complement of a given number is the no. got by adding 1 with the 1's complement of the no. suppose, we have a binary no.: 10111001101 It's 1's complement is: 01000110010 And it's 2's complement will be: 01000110011

Two's complement of a given number is the number got by adding 1 with the ones' complement of the number.

Suppose, we have a binary number: 10111001101

Its 1's complement is: 01000110010

And its two's complement will be: 01000110011

Rollback to Revision 1
Source Link
Pang
  • 10.2k
  • 146
  • 87
  • 126

2's complement of a given number is the no. got by adding 1 with the 1's complement of the no. suppose, we have a binary no.: 10111001101 It's 1's complement is : 01000110010 And it's 2's complement will be : 01000110011

Is this helpfull?

2's complement of a given number is the no. got by adding 1 with the 1's complement of the no. suppose, we have a binary no.: 10111001101 It's 1's complement is : 01000110010 And it's 2's complement will be : 01000110011

Is this helpfull?

2's complement of a given number is the no. got by adding 1 with the 1's complement of the no. suppose, we have a binary no.: 10111001101 It's 1's complement is : 01000110010 And it's 2's complement will be : 01000110011

added 19 characters in body
Source Link
user10862846
user10862846

2's complement of a given number is the no. got by adding 1 with the 1's complement of the no. suppose, we have a binary no.: 10111001101 It's 1's complement is : 01000110010 And it's 2's complement will be : 01000110011

Is this helpfull?

2's complement of a given number is the no. got by adding 1 with the 1's complement of the no. suppose, we have a binary no.: 10111001101 It's 1's complement is : 01000110010 And it's 2's complement will be : 01000110011

2's complement of a given number is the no. got by adding 1 with the 1's complement of the no. suppose, we have a binary no.: 10111001101 It's 1's complement is : 01000110010 And it's 2's complement will be : 01000110011

Is this helpfull?

Source Link
user10862846
user10862846
Loading
Post Made Community Wiki by user10862846

AltStyle によって変換されたページ (->オリジナル) /