Jump to content

Sign bit

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Zundark (talk | contribs) at 15:14, 7 June 2011 (fix a link). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computer science, the sign bit is a bit (usually the most significant bit) in a computer numbering format that indicates the sign of a number. In IEEE format, the sign bit is the leftmost bit. Typically, if the sign bit is 1, the number is negative (for two's complement integers) or non-positive (for ones' complement integers, sign-magnitude integers, and floating point numbers), and 0 indicates a positive number. When an 8-bit value is added to a 16-bit value using signed arithmetic, the microprocessor propagates the sign bit through the high order half of the 16-bit register holding the 8-bit value in a process called sign extension or sign propagation.[1]

See also

References