Understanding Floating Point Numbers in Programming
Learn how floating point numbers represent decimals in programming languages and their importance for developers. π’

0612 TV w/ NERDfirst
128.6K views β’ Aug 28, 2019

About this video
Floating point numbers are a huge part of any programmer's life - It's the way in which programming languages represent decimal numbers. We usually use them without second thought, but as it turns out, it's a fairly complex way to store a number! In this episode, we take a close look at how it works, as well as what concepts are relevant to it.
ERRATA: Please check the pinned comments for errors in this video and more information.
Β There's more to floating point! In this video, we missed out on Denormal numbers, which is a special case for small numbers. For more, watch the video here β https://www.youtube.com/watch?v=b2FgF2sUoS8
Try it out and see how it works β https://resources.nerdfirst.net/float
= CONTENTS =
0:00 Introduction
0:48 Recap on the basic bits of an integer
1:06 Fixed point numbers
1:39 Problems of Fixed point numbers
4:37 Fundamentals of Floating point numbers
6:12 Worked example of Bits β Float
β 6:34 Sign
β 6:44 Exponent
β 7:55 Mantissa
β 8:52 Putting everything together
9:49 Worked example of Float β Bits
β 10:12 Creating a Fixed point representation
β 13:29 Deriving the exponent & mantissa
β 15:12 Putting everything together
= 0612 TV =
0612 TV, a sub-project of NERDfirst.net, is an educational YouTube channel. Started in 2008, we have now covered a wide range of topics, from areas such as Programming, Algorithms and Computing Theories, Computer Graphics, Photography, and Specialized Guides for using software such as FFMPEG, Deshaker, GIMP and more!
Enjoy your stay, and don't hesitate to drop me a comment or a personal message to my inbox =) If you like my work, don't forget to subscribe!
Like what you see? Buy me a coffee β http://www.nerdfirst.net/donate/
0612 TV Official Writeup: http://nerdfirst.net/0612tv
More about me: http://about.me/lcc0612
Official Twitter: http://twitter.com/0612tv
= NERDfirst =
NERDfirst is a project allowing me to go above and beyond YouTube videos into areas like app and game development. It will also contain the official 0612 TV blog and other resources.
Watch this space, and keep your eyes peeled on this channel for more updates! http://nerdfirst.net/
-----
Disclaimer: Please note that any information is provided on this channel in good faith, but I cannot guarantee 100% accuracy / correctness on all content. Contributors to this channel are not to be held responsible for any possible outcomes from your use of the information.
ERRATA: Please check the pinned comments for errors in this video and more information.
Β There's more to floating point! In this video, we missed out on Denormal numbers, which is a special case for small numbers. For more, watch the video here β https://www.youtube.com/watch?v=b2FgF2sUoS8
Try it out and see how it works β https://resources.nerdfirst.net/float
= CONTENTS =
0:00 Introduction
0:48 Recap on the basic bits of an integer
1:06 Fixed point numbers
1:39 Problems of Fixed point numbers
4:37 Fundamentals of Floating point numbers
6:12 Worked example of Bits β Float
β 6:34 Sign
β 6:44 Exponent
β 7:55 Mantissa
β 8:52 Putting everything together
9:49 Worked example of Float β Bits
β 10:12 Creating a Fixed point representation
β 13:29 Deriving the exponent & mantissa
β 15:12 Putting everything together
= 0612 TV =
0612 TV, a sub-project of NERDfirst.net, is an educational YouTube channel. Started in 2008, we have now covered a wide range of topics, from areas such as Programming, Algorithms and Computing Theories, Computer Graphics, Photography, and Specialized Guides for using software such as FFMPEG, Deshaker, GIMP and more!
Enjoy your stay, and don't hesitate to drop me a comment or a personal message to my inbox =) If you like my work, don't forget to subscribe!
Like what you see? Buy me a coffee β http://www.nerdfirst.net/donate/
0612 TV Official Writeup: http://nerdfirst.net/0612tv
More about me: http://about.me/lcc0612
Official Twitter: http://twitter.com/0612tv
= NERDfirst =
NERDfirst is a project allowing me to go above and beyond YouTube videos into areas like app and game development. It will also contain the official 0612 TV blog and other resources.
Watch this space, and keep your eyes peeled on this channel for more updates! http://nerdfirst.net/
-----
Disclaimer: Please note that any information is provided on this channel in good faith, but I cannot guarantee 100% accuracy / correctness on all content. Contributors to this channel are not to be held responsible for any possible outcomes from your use of the information.
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
128.6K
Likes
3.9K
Duration
17:30
Published
Aug 28, 2019
User Reviews
4.7
(25) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.