Binary Storage of Floats into Memory - IEEE 754 binary32

Опубликовано: 16 Февраль 2026
на канале: Ganesh H
1,726
39

This is a guide showing how to convert and store decimal floats into binary using the IEEE 754 method. Then, we'll look at how to convert the retrieved binary back into decimal.

Written Guide and Source Code : https://www.notion.so/ganeshh123/IEEE...

Full Playlist:    • Binary Arithmetic  
Binary Arithmetic Written Guides : https://www.notion.so/ganeshh123/643d...
All My Tutorials can be found at : https://www.notion.so/Tutorials-Ganes...

00:00 - Introduction
00:13 - The number we will store and retrieve
00:50 - Converting 170 into Binary
01:26 - Converting 0.3 into Binary
03:28 - Representing 170.3 as Binary
03:46 - Converting to Standard From (base 2)
05:07 - Sign Bit
05:33 - Exponent Bits
07:16 - Fraction Bits (mantissa)
08:43 - Important Note on Rounding
10:05 - How the 32 Bits (4 bytes) will look
10:37 - Reading the value from memory
10:50 - Extracting Key Information from the Bits
11:26 - Conversion back into Decimal

————————————————————————————————————
The IEEE Standard for Floating-Point Arithmetic (IEEE 754) is a technical standard for floating-point arithmetic established in 1985 by the Institute of Electrical and Electronics Engineers (IEEE). The standard addressed many problems found in the diverse floating-point implementations that made them difficult to use reliably and portably. Many hardware floating-point units use the IEEE 754 standard.

NOTE: I am not a teacher by any means, these videos are just to help me improve my understanding.

Thanks for Watching!