This is amazing. You explained in 20 minutes what my professor could not in 90 minutes.
@neolord50pro773 жыл бұрын
How scared and ignorant i was about those floating points, but now i'm feeling enlightened and empowered with knowledge. Thank you!
@ComputerScienceLessons3 жыл бұрын
That's music to a teacher's ears :)KD
@vit67233 жыл бұрын
@@ComputerScienceLessons what if the given would be .12?
@jbkhan11354 жыл бұрын
This channel is so incredibly underrated... I wish every compsci student would subscribe to this. I know I could have used it in my uni days. Great work and keep it up!
@ComputerScienceLessons4 жыл бұрын
It's very kind of you to say so. Thank you :)KD
@febiefebriansyah3 жыл бұрын
@@ComputerScienceLessons 6:44 why the number is chage (19.5.. to 19.5)? btw, i think the voice volume is too low 🙏
@raffaelechinotti52442 жыл бұрын
@@ComputerScienceLessons i totally agree with him, BECAUSE I AM in university goddamn it can't you be my professor? :l
@jannesvanquaillie91514 жыл бұрын
I really started to hate floating-point numbers after trying to do math with it. But you helped me appreciate it. This video is SO SUPER good. Few people are so good at what they do, know what they are talking about AND can even explain it; in your case, you are really good at all of them. Truly, you are probably one of the reasons that my passion for these kinds of things is so upfront.
@ComputerScienceLessons4 жыл бұрын
Thanks for the lovely comment :)KD
@NoName-tj8dm Жыл бұрын
By far the best explanation on IEEE 754 and on biased exponent. It's really remarkable that you explained in a lucid manner. Thank you for the series on binary too.
@ComputerScienceLessons Жыл бұрын
Thank you. And you are most welcome :)KD
@ganeshharikrishnan4 жыл бұрын
I've followed this channel for about 2 years now. It's genuinely incredible how he has the capacity to simply the most complex procedures into a single set of steps
@ComputerScienceLessons4 жыл бұрын
Thank you :)KD
@gabrielruszala4432 Жыл бұрын
This guy's channel name is literally "Computer Science." Epic.
@segafrompk4 жыл бұрын
This makes it really clear why simple math operations with floating point numbers sometimes give weird X.99999999 results. Great video!
@ComputerScienceLessons4 жыл бұрын
Thank you :)KD
@hayden.A04 жыл бұрын
Thanks again. Floating point numbers were always very confusing to me until I found your channel
@ComputerScienceLessons4 жыл бұрын
Happy to help :)KD
@LoudnessWar3 жыл бұрын
I signed in to KZbin after an eternity solely to post this - your explanation of the Two's Compliment sign bit at 9:41 is absolutely brilliant and intuitive. Well done; it's so simple: the MSB becomes its normal value except negative, and the conversion to decimal "Just Works." I wish I had seen that when I was first learning binary formats as a kid - it's SO much easier to think of it that way than the whole "count backwards from all 1's" way I had conceived of it before.
@ComputerScienceLessons3 жыл бұрын
Thank you for taking the time to post such a lovely comment. It makes it all worthwhile. :)KD
@bobdemp86912 жыл бұрын
Really good. 20 years ago this went over my head and always meant to revisit it. Very clear explanation.
@ComputerScienceLessons2 жыл бұрын
Thank you. You are most welcome :)KD
@clarencedomond58373 жыл бұрын
This channel is a goldmine, you are saving lives sir please do not stop making videos!
@ComputerScienceLessons3 жыл бұрын
You are very kind. More on the way :)KD
@annilator3000 Жыл бұрын
that's the most comprehensive video I could find on this topic, great job
@swedishguyonyoutube46842 жыл бұрын
4:08 is an incredibly well thought out, easy to follow, pedagogical explanation of conversion! Thanks a bunch!
@ComputerScienceLessons2 жыл бұрын
Thank you. Your comment is greatly appreciated. :)KD
@Sciller43 жыл бұрын
Every year, I go on CS competitions (and usually do quite well, I was second in Croatia once), but I could never remember how to use this standard or why things were how they were. Thank you for that!
@ComputerScienceLessons3 жыл бұрын
You're most welcome. Good luck with the next competition :)KD
@xinguangmingwo23433 жыл бұрын
Your video taught me IEEE 754. Thank you.
@ComputerScienceLessons3 жыл бұрын
You're welcome :)KD
@MIbrahimKh3 жыл бұрын
Really made me "floating" with joy, thanks teacher!
@ComputerScienceLessons3 жыл бұрын
You are very welcome. You made my day. :)KD
@caramucha3 жыл бұрын
Mate, this is brilliant! I am a medical professional trying to grasp the basics of computer anatomy and physiology if you will, and your videos really make everything much more organic! Thanks for this amazing content! I'm looking forward to watching the other series in your channel.
@ComputerScienceLessons3 жыл бұрын
You are most welcome. Thanks for taking the time to comment :)KD
@obaydasarahneh23623 күн бұрын
thank u so much I did very well today on the exam following u from Palestine
@ComputerScienceLessons22 күн бұрын
Delighted to help :)KD
@florisvanderhout26754 жыл бұрын
just WOW, you are incredible. I just started with my first year of computer science and this video made everything sooooo clear. I subscribed. So keep up the good work.
@ComputerScienceLessons4 жыл бұрын
Thank you for the lovely comment. Big smile here. :)KD
@ieatnoodls2 жыл бұрын
Explanation clear as the sky, thank you
@ComputerScienceLessons2 жыл бұрын
You're welcome :)KD
@kellerw48002 жыл бұрын
Thanks so much for this video, excellently paced for taking notes and really absorbing and understanding the information, with lots of great explanations as to WHY steps are taken. TY
@ComputerScienceLessons2 жыл бұрын
You are most welcome :)KD
@swun33672 жыл бұрын
your way of saying Mantissa is just so perfect. has to be said.
@ComputerScienceLessons2 жыл бұрын
MANTISSA MANTISSA MANTISSA
@kannadiga36442 жыл бұрын
excellent session, crisp and complete coverage..
@ComputerScienceLessons2 жыл бұрын
Thank you. :)KD
@LuchsYT2 жыл бұрын
TYSM! This finally made me understand the IEEE 754 standard for floating point numbers!
@ComputerScienceLessons2 жыл бұрын
You are welcome indeed. Delighted to help :)KD
@raghunathprabhakar2166 Жыл бұрын
Thank you so much for explaining this in such a concise manner
@ComputerScienceLessons Жыл бұрын
You're very welcome :)KD
@notgiven39712 жыл бұрын
I would just like to say thank you for this video it was very helpful for my upper div assembly lab assignment on this topic. Thank you for the video!
@ComputerScienceLessons2 жыл бұрын
You ae most welcome :)KD
@ghattassaliba4910 Жыл бұрын
I love your work and explanation, you deserve to be the president 💪💪
@ComputerScienceLessons Жыл бұрын
Thank you so much. Not sure I would want the job of president though! :)KD
@poserGirl8633 жыл бұрын
this is such a good video! I never had the idea of using what you call the "modified gadget" for the place values of 2s complement numbers. I came here thinking I knew my 2s complement and I'm leaving having learned not only the standard for floating point numbers, but an incredibly valuable tool for working with 2s complement. Thank you!
@pinch-of-salt3 жыл бұрын
More IEEE standard videos!!! Thank you so much. VonC explained it great on stackoverflow but I still referred to this video!
@ComputerScienceLessons3 жыл бұрын
Working on it :)KD
@nitinrawat45223 жыл бұрын
Nicely and neatly explained! Got all my answers from the single video. Keep up the good work! XD
@ComputerScienceLessons3 жыл бұрын
Delighted to be of service :)KD
@varma8669 Жыл бұрын
This was a very helpful video. Came in clutch right before the due date. Thank you!
@ComputerScienceLessons Жыл бұрын
You're very welcome :)KD
@estefaniac82604 жыл бұрын
Thank you so much for your detailed explanation. It is excellent and exactly what I was looking for to understand this topic.
@ComputerScienceLessons4 жыл бұрын
You are most welcome :)KD
@user-om2ev8wz6g3 жыл бұрын
Thank you Kevin Drumm for this amazing video
@ComputerScienceLessons3 жыл бұрын
My pleasure :)KD
@JamesBrodski2 жыл бұрын
Wow, what an amazing video. Thank you so much.
@fromthebeattothesaber14193 жыл бұрын
Thanks a lot for this great explanation I am from Germany and i am currently playing with the x32 osc software which uses these floation points to control the faders of each single channel There is no open source javascript implementation of this calculation on the internet And also no good explanation With the help of this video I've managed to create my own conversion function Thanks a lot
@alikhaled84410 ай бұрын
The exponent bias part was masterful..
@roshanafernando24432 жыл бұрын
Well explained. Worth watching the video. Keep on doing this. All the best!
@axelboy90802 жыл бұрын
it was wonderful.. you taught me Sth.. I LOVE YOU !
@ComputerScienceLessons2 жыл бұрын
Thank you. Love U 2 :)KD
@petar78672 жыл бұрын
Video is very easy to understand, thank you very much!
@ComputerScienceLessons2 жыл бұрын
You are very welcome :)KD
@FarizDarari21 күн бұрын
Wow, thanks a lot for the awesome explanation!!!
@ComputerScienceLessons16 күн бұрын
You are very welcome ?)KD
@Thomas-ht9cn2 жыл бұрын
Thank you, sir! This video really helped me grasp the concept.
@ComputerScienceLessons2 жыл бұрын
Delighted to help :)KD
@realtissaye3 жыл бұрын
DUDE THIS VIDEO IS SO AWESOME
@ComputerScienceLessons3 жыл бұрын
You are most welcome. Thanks :)KD
@alphanumeric27024 жыл бұрын
Brilliant presentation!
@ComputerScienceLessons4 жыл бұрын
Thank you :)KD
@slava_in37572 жыл бұрын
Amazing explanation to say the least!
@ComputerScienceLessons2 жыл бұрын
Thank you :)KD
@RawFatGod Жыл бұрын
You explain it so clearly
@MCMeru3 жыл бұрын
Incredibly well explained!!!
@ComputerScienceLessons3 жыл бұрын
Thank you. You made my day :)KD
@Rahul-fq9kf2 жыл бұрын
Very thankful to you for explaining it so well.
@bakaphu19922 жыл бұрын
at 06:46 the header changes from example 19.5375 to 19.25 randomly, even though the example is still done with the first number.
@victorlucki85864 жыл бұрын
Loved it! Thank you, as always!
@ComputerScienceLessons4 жыл бұрын
You're most welcome. Thanks for the comment :)KD
@Antagon6664 ай бұрын
This is one of the nicer takes
@ComputerScienceLessons4 ай бұрын
Thank you :)KD
@stopthecap8810 Жыл бұрын
This is such a phenomenal video. The pace at which the animations/charts line up with your words greatly help with understanding this. To be honest, your channel is like a wikipedia for basic data representation, and should be something every teacher recommends. The only question is what exactly do you mean by 'the value of the exponent specifies how far to the left or to the right the binary should float to obtain the value in the register?' That part wasn't clear. Do you mean how much it should float to determine the mantissa? Also, what part of the floating point concept tells us where the 'decimal' starts? Is it the exponent?
@izotovadaria71513 жыл бұрын
Thank you so much! This is so helpful for my classes!
@ComputerScienceLessons3 жыл бұрын
You're very welcome :)KD
@אליהולוי-ד4ה Жыл бұрын
Very good explanation, thanks!
@rpop79113 жыл бұрын
Very well explained, thank you so much!
@ComputerScienceLessons3 жыл бұрын
You're very welcome :)KD
@fay77253 жыл бұрын
I'm recommending this video to my college friends. Thank you so much Edit : also, you got a new subscriber
@bakaphu19922 жыл бұрын
thank you! I think at 14:49 it's rather how many places you have to get to the right instead of left right? step 3
@parsiabolouki76853 жыл бұрын
Amazingly great explained! Thank you
@yiming95692 жыл бұрын
Could you explain why the normalization of the mantissa is "1.1 * 2^-4" instead of "0.11 * 2^-3" as you explained that normalization for positive numbers should be in the form of 0.1xxxxxx * 2^x in the video of "Binary 6 Normalized Floating Point Binary Fractions"?
@marouaabdi6113 жыл бұрын
Thank you for your brilliant explanation sir , but I have a question . in the last two examples when we converted the number 123 to binary , why one started with 01 and the other with 11 ?
@user-fg6ng7ej6w5 ай бұрын
very clear explanation thanks !
@roman_mf2 жыл бұрын
Thank you so much, an explanation well done!
@ComputerScienceLessons2 жыл бұрын
You are very welcome. :)KD
@tadikasxd95462 жыл бұрын
Amazing video, Thank you so much
@ComputerScienceLessons2 жыл бұрын
You're very welcome :)KD
@spacemule13 жыл бұрын
High quality! Thanks brother
@singmantkpss2 жыл бұрын
Thx god i found this gem
@ComputerScienceLessons2 жыл бұрын
Thank you :)KD
@TurgutKalfaoglu8 ай бұрын
Small error: While explaning converting from 19.59375, the title of the slide switches to converting to 19.25. the bottom of the slide seems to continue on the 19.59375 however.
@ComputerScienceLessons7 ай бұрын
Ahhh! Thanks :)KD
@Lights.Camera.ActionYT Жыл бұрын
Please represent 0.1 + 0.2 in IEEE 754 format and also how to equate exponents if we have -4 and -3
@ToyExamples3 жыл бұрын
thanks, very helpful and concise
@ComputerScienceLessons3 жыл бұрын
You're welcome :)KD
@brascoarts26343 жыл бұрын
If you think about it, there's always gonna be 1 at the end💥
@fkarls92824 жыл бұрын
A really good explanation and a nice visualisation, great video. Can you also make a video about the Quine-McCluskey method ?
@ComputerScienceLessons4 жыл бұрын
I'll take a look at it. Sounds like an interesting programming project. :)KD
@HexadecimalDump Жыл бұрын
Do you know where I can read more about this theory of converting denary number to pure binary, or maybe you could explain it? I understand why repeatedly dividing whole part by 2 works, but I can't understand how repeatedly multiplying fractional part by 2 gives us binary representation. I really want to understand this part and not just memorise it
@ComputerScienceLessons Жыл бұрын
I think converting between binary and denary by successively multiplying or dividing by two is nice 'trick' but I prefer to teach binary from first principles. It's important to realise that each bit has a place value. Perhaps my binary playlist will help. kzbin.info/www/bejne/mXuxnmxpbb2ql9E :)KD
@randyzakyasuchrady14884 жыл бұрын
Thanks for the explanation!
@ComputerScienceLessons4 жыл бұрын
You are very welcome :)KD
@pataruutu13 жыл бұрын
i, and many others i suppose, would appreciate if you could do a video on guard, round and sticky bits.
@ComputerScienceLessons3 жыл бұрын
OK - I'll see what I can do :)KD
@keonscorner5163 жыл бұрын
That’s the IEEE 754 floating point double precision 32-bit format can you explain IEEE 754 floating point double precision 64-bit format
@tungtruong9232 Жыл бұрын
very helpful, but why in your first example, you want to convert the value 19.25 to binary but in step 2 you also use 19.59375, can you explain me, very thanks, you lesson is very valuable
@ahmadhosseinzadeh31413 жыл бұрын
Thanks for the splendid video! Will you record a video on rounding up/down the floating point formats and the associated errors?
@koraltayeb86813 жыл бұрын
FANTASTIC!! THANK YOU
@ComputerScienceLessons3 жыл бұрын
You're most welcome :)KD
@mohamedjimale92589 ай бұрын
i'm confused on the last question of this video, where did you get 10 to the -36 from when you were times it by -3.3031391268106278973921496695945?
@YnjeviYhhei3 жыл бұрын
Very well explained thank you
@Karim-nq1be Жыл бұрын
Your video is great. One of the most boring stuff I had to learn in my life.
@ComputerScienceLessons Жыл бұрын
:)KD
@larrywu89773 жыл бұрын
Really Really helpful, thank you!
@ComputerScienceLessons3 жыл бұрын
Delighted to help :)KD
@ofd37692 жыл бұрын
u are the best one thanks a lot
@ComputerScienceLessons2 жыл бұрын
You're very kind. Thank you :)KD
@imraulemmaka5114 жыл бұрын
What is a fixed-sized register?? Could you link any related resource, please? and in the beginning, you said -" the value of exponent specifies how far to the left or the right the binary point should float in order to obtain the actual value in the register." - Could you please explain "register" here? is the value in register or what!!
@ComputerScienceLessons4 жыл бұрын
A register is the smallest unit of storage found in the CPU. In an older machine, a register could hold 32 bits. Modern machines have 64 bit registers (or even 128 bit registers). Registers are always fixed in size. I pointed out that they were fixed in size to emphasise that register size imposes a limitation on the size of the number it can store. I strongly recommend that you take a look at my playlist on binary which explains this in more detail. kzbin.info/aero/PLTd6ceoshprcpen2Jvs_JiuvWvqIAkzea :)KD
@lucaspaiva8410 Жыл бұрын
Obrigado amigo você e Jesus são quase a mesma pessoa, salvou muito
@ComputerScienceLessons Жыл бұрын
Obrigado. Você é muito gentil. :)KD
@bradthompson12092 жыл бұрын
I would have liked to see you convert -3.303139... E-36 back to a 32 bit binary number. I am struggling with how to deal with the base 10 exponent. It's not obvious to me yet.
@JKSmith-qs2ii4 жыл бұрын
These are a topic for another video at the end, does anyone know which video this is?
@ComputerScienceLessons4 жыл бұрын
Can I help? :)KD
@JKSmith-qs2ii4 жыл бұрын
@@ComputerScienceLessons How can I find out what the smallest increment one can perform with a number in IEEE 754 format is (numerical resolution)? If the mantissa and the exponent are fixed than can't it only represent one value?
@maxhmetonxrono3 жыл бұрын
Thank you for the amazing video you are very good Teacher!!! I want to ask why we div with 2^-118 at 20:27 ???
@TurgutKalfaoglu8 ай бұрын
very good thank you!
@ComputerScienceLessons7 ай бұрын
You're very welcome :)KD
@shahebmiah24923 жыл бұрын
I haven't spent so long on a topic like this. Looks so simple but so confusing.
@ComputerScienceLessons3 жыл бұрын
It may be worth going back to the start of my playlist on binary and working your way through theses. This video is the last in a series.
@shahebmiah24923 жыл бұрын
@@ComputerScienceLessons from this video i put everything together with what i learned and i understand it now. Thank you
@96erardo3 жыл бұрын
I would love to read the original IEEE document on the subject, but it seems that is only accessible paying and i dont have the money right now :(
@ComputerScienceLessons3 жыл бұрын
Yes - it's a shame they don't publish it for free. :)KD
@DeadManProp Жыл бұрын
10:06 I do not understand why the negative numbers are now on top instead of the bottom.
@AbeDillon2 жыл бұрын
IEEE should have inverted the sign-bit convention so that 1 means positive an 0 means negative. That would allow you to compare two floats bitwise starting with the most-significant bit and the first to have a 1 where the other has a zero would be the larger number.
@ErosMarques3 жыл бұрын
thanks, this was really helpful!
@mattstyles42834 жыл бұрын
Great video! Why is the leftmost bit of the mantissa always 1? And how is this different to the 0.1 / 1.0 rule of normalised floating point binary?
@mattstyles42834 жыл бұрын
Is it something to do with the fact that IEEE format separates the sign bit?
@jessebelleman80704 жыл бұрын
You are a legend!
@ComputerScienceLessons4 жыл бұрын
You are too kind :)KD
@shahebmiah24923 жыл бұрын
Why is there a remainder 1 after when no division took place? could i please know
@ermanerbak Жыл бұрын
VERY GOOD JOB. But question changing on 6.45 :))
@oviya.n1317 Жыл бұрын
excellent
@ComputerScienceLessons Жыл бұрын
Thank you :)KD
@Lights.Camera.ActionYT Жыл бұрын
can i have ieee 754 format for 0.1 + 0.2
@floopiiisss92952 ай бұрын
I am confused on how he got 4 at 7:26 can anyone please explain?