Sollicitatievraag bij Google

talk about 1s complement and 2s complement representation

Antwoord op sollicitatievraag

Anoniem

19 jul 2010

1s complement is the inverse of all bits. 2s complement is used to represent negative values by offsetting 1s complement by 1 so that we avoid the value -0.