BookRags.com Literature Guides Literature
Guides
Criticism & Essays Criticism &
Essays
Questions & Answers Questions &
Answers
Lesson Plans Lesson
Plans
My Bibliography Periodic Table U.S. Presidents Shakespeare Sonnet Shake-Up
Research Anything:        
History | Encyclopedias | Films | News | Create a Bibliography | More... Login | Register | Help

Signedness

Print-Friendly
About 1 pages (164 words)

Bookmark and Share Questions on this topic? Just ask!

In computing, signedness is a property of variables representing numbers in computer programs. A numeric variable is signed if it can represent both positive and negative numbers, and unsigned if it can only represent positive numbers. Although this distinction is often made in computer processors, which require it to do arithmetic correctly, it is concealed by many programming languages. Generally, only languages which stay close to hardware's constraints (so-called "low-level" languages) require programmers to make the distinction. These include assembly language, C and C++. While signed numbers can represent negative numbers they lose a range of larger numbers which can only be represented with unsigned numbers of the same size (in bits). This is because in signed variables, one bit is used to indicate signedness, dividing the number of positive values that can be represented by two. Unsigned variables can dedicate all their bits to the positive number range.

See also

View More Summaries on Signedness
 
Ask any question on Signedness and get it answered FAST!
Answer questions in BookRags Q&A and earn points toward
discounted or even FREE Study Guides and other BookRags products!
Learn more about BookRags Q&A
Copyrights
Signedness from Wíkipedia. ©2006 by Wíkipedia. Licensed under the GNU Free Documentation License. View a list of authors or edit this article.

Article Navigation
Join BookRagslearn moreJoin BookRags




About BookRags | Customer Service | Report an Error | Terms of Use | Privacy Policy