Printer Friendly
Dictionary, Encyclopedia and Thesaurus - The Free Dictionary
1,824,439,279 visitors served.
forum mailing list For webmasters
?
New: Language forums
Dictionary/
thesaurus
Medical
dictionary
Legal
dictionary
Financial
dictionary
Acronyms
 
Idioms
Encyclopedia
Wikipedia
encyclopedia
?

twos complement

   Also found in: Wikipedia 0.04 sec.
(data)twos complement - A system used in some computers to represent negative numbers in binary. Each bit of the number is inverted (zeros are replaced with ones and vice versa), as for ones complement, but then one (000...0001) is added (ignoring overflow). This avoids the two representations for zero found in ones complement by using all ones to represent -1.

... 000...00011 = +3 000...00010 = +2 000...00001 = +1 000...00000 = 0 111...11111 = -1 111...11110 = -2 111...11101 = -3 ...

This representation simplifies the logic required for addition and subtraction, at the expense of a little extra complexity for negation.


How to thank TFD for its existence? Tell a friend about us, add a link to this page, add the site to iGoogle, or visit webmaster's page for free fun content.
?Page tools
Printer friendly
Cite / link
Email
Feedback
? Mentioned in ? References in periodicals archive
 
The MSM7716 3-volt linear CODEC utilizes a 14-bit, twos complement input/output coding format, saving up to 2 MIPS normally used in PCM processing by a DSP.
 
Encyclopedia browser? ? Full browser
 
 
Encyclopedia
?

Disclaimer | Privacy policy | Feedback | Copyright © 2010 Farlex, Inc.
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. Terms of Use.