• Assume a bit vector
  • Then, the unsigned integer encoded by is given by, where the symbol means binary to unsigned, -bit word size

Examples

Visual help

Range of values

  • If we have a bit vector of word length, bits.
  • The least value that can be represented is given by , which represents the integer .
  • The maximum value can be represented by which represents the integer:

Example

  • When ,

Sources