A binary digit is a zero or one in the base-two positional representation of an integer. The sum determines the Thue–Morse sequence and is the Hamming weight of the binary representation.
The most significant bit is the binary digit with greatest positional weight in a specified binary representation. For a positive integer written without leading zeros, it is the leading one: in , it has weight .
For a fixed-width word, the term instead denotes the leftmost position even when that bit is zero. In two's-complement signed representation, that position is the sign bit. Stating the width and whether the value is signed prevents confusing the highest position of a word with the highest nonzero bit of an integer.
The least significant bit is the binary digit in the position of weight . For a nonnegative integer , its value is , so it records parity. In it is one; in it is zero.
The phrase must be distinguished from the least significant set bit, the lowest position containing a one. For , that set bit has weight four, even though the least significant bit is zero. The distinction matters in bit masks, divisibility by powers of two, and binary arithmetic.

Ancestors (7)

  1. Binary numeral system
  2. Positional notation
  3. Integer
  4. Number theory
  5. Area of mathematics
  6. Mathematics
  7. Home

Discussion (0) New discussion

There are no discussions about this article yet.

Articles by others on the same topic (0)

There are currently no matching articles.