You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
This lesson covers how computers represent real numbers using floating-point representation. You need to understand the mantissa and exponent, normalisation, converting between floating-point and denary, and the trade-off between precision and range.
Fixed-point binary has a fixed binary point position, limiting either range or precision. Floating-point allows the binary point to "float" — move to different positions — enabling representation of very large and very small numbers.
This is similar to scientific notation in denary:
In binary floating-point:
A floating-point number consists of two parts:
| Component | Purpose |
|---|---|
| Mantissa | Stores the significant digits (precision) of the number |
| Exponent | Stores the power of 2 (determines where the binary point sits) |
Both the mantissa and exponent are stored in two's complement so that negative values can be represented.
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.