Search⌘ K

Floating Point Representation

Learn how floating point representation extends fixed point notation to encode fractional numbers in binary. Understand the roles of the sign bit, biased exponent, and mantissa in storing numbers with fractional parts using an 8-bit binary format.

How does it work?

Just like scientific notation is an extension of the decimal point notation, floating points can be said to extend fixed point notation.

Let’s look at a number in scientific notation:

ss m×10nm \times 10^{n}

We can divide this number into three distinct parts:

  • The coefficient mm, known as the significand or the mantissa, which can be any real number
  • The power of 1010, nn, which is called the exponent, and
...