Floating Point Conversions

Learn how to convert numbers back and forth between decimal and floating point representations.

Decimal to floating point

Let’s consider the method of representing decimal numbers as floating points, using the 88-bit representation we introduced in the previous lesson. Recall; that we had 33 exponent bits and 44 mantissa bits. The bias for the exponent was 33.

Get hands-on with 1200+ tech skills courses.