A video for my classes, converting a Decimal number into Single Floating Point Notation.
Пікірлер: 55
@same.24113 жыл бұрын
Finally, a worthy competitor to the indian youtube tech tutorial channels
@william39502 жыл бұрын
😂
@stevensamrow3307 жыл бұрын
This is, by far the most simplistic and straight forward decimal to floating point conversion video I've seen yet. Thanks!
@NicholasDingle7 жыл бұрын
Happy to help!
@mindyourbusiness23944 жыл бұрын
I watched a lot of videos to figure out how to convert decimal to floating point. This is the best video. I think I can solve any question of that kind. Thank you so much Nicholas.
@ignisninja5867 Жыл бұрын
Clear and straight to the point. Thank you so much
@SigmaHayate Жыл бұрын
This is much easier to understand than my instructor's explanation. Can't believe a video of 7 years ago does better than a today instructor
@pauljackson83366 жыл бұрын
Sorry, I don't think you explained where did the *127* come from and why do we have to add it to the exponent(4). At 4:31 time stamp
@NicholasDingle6 жыл бұрын
+Paul Jackson The exponent represents how many places the dot was moving so we need to start at a middle value (127 is roughly the middle of 8 bits which has a range of 0-255). Since we start at 127 we can move the dot 128 spaces to the left, or 128 spaces to the right.
@pauljackson83366 жыл бұрын
Ah yeah, now it makes sense, thank you for the quick reply ^^
@wolfcompany23 жыл бұрын
@@NicholasDingle do you +127 because it was a positive 4? Would it be -127 if it is -4?
@Fly_Nimbus3 жыл бұрын
@@wolfcompany2 correct 127 + (-4) or -4 + 127which would be 123 also we get 127 because its a 32bit standard if its a 64bit standard it will be a different value
@patrickarmer937 Жыл бұрын
I spent 2 hours confused in my book, then had it click immediately in your 6 minute video. Cheers!
@crackrokmccaib2 жыл бұрын
You did a way better job explaining this than a certain online credit earning learning website did. Their CS 306 computer architecture lesson just was like blah blah, I'm saying stuff but not actually saying where anything comes from.
@davidcopher62944 жыл бұрын
Thank you so much, keep up the good work. Helped me out a lot.
@MCSGproject7 жыл бұрын
legendary, thanks
@kjelltitulaer35936 жыл бұрын
I know computers sometimes hide the first mantissa bit, with this calculation, is it hidden by default or do you still have to hide it afterwards?
@tejas123657 жыл бұрын
you are a life saver bro
@PianoBounty6 жыл бұрын
What if I have a number in decimal base that can't be represented in binary base by floating point binary? Does this method still reach to a binary floating point number or do you end up having a problem like an endless loop of calculation?
@hollouise81344 жыл бұрын
Absolute legend
@dripsquad76763 жыл бұрын
thank you Nicholas a lot this was awesome explanation and video
@dimpln7713 Жыл бұрын
this is so simple, amazing explanation thank you
@gcjas19986 жыл бұрын
Simple and concise. Thank you.
@tutuuo6 жыл бұрын
Concise wasn''t necessary lmao
@askram917 жыл бұрын
Very useful one,Thank you
@user-bx8sj6qm3w Жыл бұрын
Thank you, now I can solve my homework in detail as asked ❤️
@ning16067 жыл бұрын
great video!
@SmokeBloody4 жыл бұрын
Thanks, you really helped!
@redabou9al5629 ай бұрын
thank you for this clear explanation.
@eshaanbagga51592 жыл бұрын
Nicely explained.
@b213videoz Жыл бұрын
Excellent video!
@s.u.52855 жыл бұрын
Is there a reverse video tutorial where you go from the long binary back into 23.75 ?
@aminabdi70265 жыл бұрын
check this one he explains it properly kzfaq.info/get/bejne/d7tkd9epsp_LkmQ.html
@Edw5904 жыл бұрын
I don't think it would be hard to do, after watching this. Just do the exact reverse steps he did and I think it should work. Like, Mantissa is what it's after the dot. Cool. Exponent, you just do 131 - 127 = 4, then that's the Exponent. As the dot is always after the first 1 in the binary number, then it's "1.Matissa", in this case, 1.011111. As the Exponent is 4, you just move the dot in the opposite sign of 4 (-4 --> right): 10111.11. And there it is. Then it's just convert from binary to decimal. 11 (binary) = 3. Then, 3 / 2 = 1.5 [reminder: 1]; 1.5 / 2 = 0.75 [reminder: 1] - you divide 2 times because that's how many numbers are in the decimal part of the binary. The whole part of the number (101111), 1 + 2 + 4 + 0 + 16 = 23. 23 + 0.75 = 23.75. Now, the binary to decimal part, I made it up a bit hahaha (didn't think on it when I said it wouldn't be hard hahaha). No idea if it's right or not though. Cool though, made me think hahaha. But worked, at least. Just don't know if that's the right way or not. Later I'll look for some video that does the opposite of this one to be sure of the right way.
@gauravbadhani1594 жыл бұрын
easy explanation thankyou..
@sanakashgouli28705 жыл бұрын
THANK YOU SO MUCH *_______*
@pyrobosnia66592 жыл бұрын
Thank you soo much!
@friday81182 жыл бұрын
so we multiply to convert the other way?
@beforethescene78802 жыл бұрын
thank you so much I love you
@abdullahmohammad56134 жыл бұрын
What if the number was like 2E-40! What shall we do then?
@Florrrra6 жыл бұрын
Anyone tell me why is 23.75(10) in the end? Thanks
@bensear6 жыл бұрын
the (10) shows it is base 10 denary rather than base 2 binary
@lmnop2914 жыл бұрын
what would be the "127" value for double
@hive93494 жыл бұрын
1023
@davidcopher62944 жыл бұрын
For a single-precision number, (127). For a double-precision number, (1023).
@muhammadfaizan99094 жыл бұрын
stay bless
@12rhQ Жыл бұрын
thank you, very good
@francisferri2732 Жыл бұрын
Thank you :D
@020-kavitham53 жыл бұрын
Easily explained bro
@laibaarraik729easyconcept2 жыл бұрын
Sir, i did not get exponent work....kindly derive
@liquidsvp Жыл бұрын
on photoshop ^^^
@donnan77095 жыл бұрын
Why is it Sign, Exponent then Mantissa. I thought it was Sign, Mantissa then Exponent
@pietheijn-vo1gt10 ай бұрын
I hate this type of video, where you don't explain anything you just 'do the steps'. This just looks like a bunch of magic.