Floating Point Numbers: IEEE 754 Standard | Single Precision and Double Precision Format

  Рет қаралды 22,622

ALL ABOUT ELECTRONICS

ALL ABOUT ELECTRONICS

Күн бұрын

In this video, IEEE 754 standard, and specifically IEEE single precision and double precision format for the floating point numbers is explained in detail.
And through examples, how to convert the 32-bit floating point numbers into the equivalent decimal number and vice-versa, how to convert the decimal number into a 32-bit floating point number is explained.
At the end, why the floating point numbers cover a greater range compared to fixed point numbers (with the same bits) is also explained.
Here is the list of topics covered in the video:
0:00 Introduction
2:13 Single Precision Format
7:14 Example 1
9:14 Example 2
11:31 Example 3
15:16 Why does a Floating Point Number cover a greater range than a Fixed Point Number?
19:33 Double Precision Format
For more videos on Digital Electronics, check this playlist:
• Digital Electronics
IEEE 754 Standard:
In IEEE 754 standard, depending on how many bits are reserved for storing the floating point numbers, there are different formats.
1) Half-Precision Format (16-bits)
2) Single Precision Format (32 bits)
3) Double Precision Format (64 bits)
4) Quadruple Precision (128 bits)
5) Octuple Precision (256 bits)
Among all, Single Precision and Double Precision Formats are widely used. And in this video these two formats are explained in detail.
Single Precision Format (32 bit Floating Point Numbers):
In this format, out of the 32 bits,
1) 1 bit is reserved for sign.
2) 8 bits are reserved for exponent
3) 23 bits are reserved for mantissa / significand
To represent any binary number in this format, first binary number is normalized and then it is stored in this 32-bit format.
For Mantissa, the digit before the binary point (which is always 1) is not stored explicitly and only fractional part is stored.
The exponent is stored in biased format. For 32-bit numbers, the bias value is 127. In the actual exponent value, this bias (127) is added and then the exponent is stored. Because of this offset, all the negative numbers will get shifted towards the positive side. In this 32-bit format, the actual value of the exponent can range from -126 to +127.
Double Precision Format (64-bits Floating Point Numbers)
To achieve more precision and even more range, Double Precision Format is used.
In this format out of the 64-bits,
1) 1 bit is reserved for sign.
2) 11 bits are reserved for exponent
3) 52 bits are reserved for mantissa / significand
For 64-bit numbers, the bias value is 1023. In the actual exponent value, this bias (1023) is added and then the exponent is stored. Because of this offset, all the negative numbers will get shifted towards the positive side. In this 64-bit format, the actual value of the exponent can range from -1022 to +1023.
This video will be helpful to all the students of science and engineering in understanding the IEEE 754 standard for the Floating Point Numbers.
#ALLABOUTELECTRONICS
#digitalelectronics
#floatingpointnumbers
#IEEE754
Support the channel through membership program:
/ @allaboutelectronics
--------------------------------------------------------------------------------------------------
Follow my second channel:
/ @allaboutelectronics-quiz
Follow me on Facebook:
/ allaboutelecronics
Follow me on Instagram:
/ all_about.electronics
--------------------------------------------------------------------------------------------------
Music Credit: www.bensound.com

Пікірлер: 10
@ALLABOUTELECTRONICS
@ALLABOUTELECTRONICS 7 ай бұрын
For more videos on Digital Electronics, check this playlist: bit.ly/31gBwMa
@NOORK03
@NOORK03 5 ай бұрын
ngl you just taught me my profs whole weeks lecture, in 22 mins. Genuinely appreciate it!
@mayurshah9131
@mayurshah9131 7 ай бұрын
Very nice as usual 🎉🎉
@poojashah6183
@poojashah6183 7 ай бұрын
Amazing explanation every time 🎉
@confusionprice1422
@confusionprice1422 6 ай бұрын
Example 1 really helped me out, thank you so much
@halfofmylife10
@halfofmylife10 2 ай бұрын
KZfaq lectures are better than college lecture
@ChampShelar
@ChampShelar 7 ай бұрын
Nice explanation bruh 🎉
@sanjayshah9838
@sanjayshah9838 7 ай бұрын
Very Nice Continue 👍👍👍👌👌👌
@sirimallakarunyadav305
@sirimallakarunyadav305 7 ай бұрын
Please do a video on multiple sequence detecting fsm in one Sequence
@MemeDAboss-ec7iz
@MemeDAboss-ec7iz Күн бұрын
The Scientific Notations
how floating point works
17:48
jan Misali
Рет қаралды 366 М.
Floating Point Numbers - Computerphile
9:16
Computerphile
Рет қаралды 2,3 МЛН
THEY made a RAINBOW M&M 🤩😳 LeoNata family #shorts
00:49
LeoNata Family
Рет қаралды 33 МЛН
Fixed Point Decimal Numbers - Including Fixed Point Arithmetic
11:24
Digital Electronics - CMOS Circuits
5:54
Justin Hatter
Рет қаралды 209
LEVY'S LUCK OF THE DRAW
16:32
GMHikaru
Рет қаралды 113 М.
Floating Point Numbers (Part1: Fp vs Fixed) - Computerphile
15:41
Computerphile
Рет қаралды 157 М.
Decimal to IEEE 754 Floating Point Representation
9:27
Abishalini Sivaraman
Рет қаралды 1,4 МЛН
Octal and Hexadecimal Number System Explained
24:15
ALL ABOUT ELECTRONICS
Рет қаралды 52 М.
IEEE 754 Standard for Floating Point Binary Arithmetic
21:34
Computer Science
Рет қаралды 238 М.
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 7 МЛН