Binary Storage of Floats into Memory - IEEE 754 binary32
Channel: Ganesh H
Date: 2020-10-12

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-754-Float-Storage-Binary32-8f175f52eb42412d9b570fc1de09fab2

Full Playlist: https://www.youtube.com/playlist?list=PLhGp6N0DI_1T8gZZPWoih3ww_mZ8uXcwK
Binary Arithmetic Written Guides : https://www.notion.so/ganeshh123/643d9485b70a4cc1b823b849dc98ca52
All My Tutorials can be found at : https://www.notion.so/Tutorials-Ganesh-H-293ea420d34a464f9a1907e0405b5f26

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!