Decimal to Floating Point Conversion

  Рет қаралды 116,899

Nicholas Dingle

Nicholas Dingle

8 жыл бұрын

A video for my classes, converting a Decimal number into Single Floating Point Notation.

Пікірлер: 55
@same.2411
@same.2411 3 жыл бұрын
Finally, a worthy competitor to the indian youtube tech tutorial channels
@william3950
@william3950 2 жыл бұрын
😂
@stevensamrow330
@stevensamrow330 7 жыл бұрын
This is, by far the most simplistic and straight forward decimal to floating point conversion video I've seen yet. Thanks!
@NicholasDingle
@NicholasDingle 7 жыл бұрын
Happy to help!
@mindyourbusiness2394
@mindyourbusiness2394 4 жыл бұрын
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
@ignisninja5867 Жыл бұрын
Clear and straight to the point. Thank you so much
@SigmaHayate
@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
@pauljackson8336
@pauljackson8336 6 жыл бұрын
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
@NicholasDingle
@NicholasDingle 6 жыл бұрын
+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.
@pauljackson8336
@pauljackson8336 6 жыл бұрын
Ah yeah, now it makes sense, thank you for the quick reply ^^
@wolfcompany2
@wolfcompany2 3 жыл бұрын
@@NicholasDingle do you +127 because it was a positive 4? Would it be -127 if it is -4?
@Fly_Nimbus
@Fly_Nimbus 3 жыл бұрын
@@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
@patrickarmer937 Жыл бұрын
I spent 2 hours confused in my book, then had it click immediately in your 6 minute video. Cheers!
@crackrokmccaib
@crackrokmccaib 2 жыл бұрын
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.
@davidcopher6294
@davidcopher6294 4 жыл бұрын
Thank you so much, keep up the good work. Helped me out a lot.
@MCSGproject
@MCSGproject 7 жыл бұрын
legendary, thanks
@kjelltitulaer3593
@kjelltitulaer3593 6 жыл бұрын
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?
@tejas12365
@tejas12365 7 жыл бұрын
you are a life saver bro
@PianoBounty
@PianoBounty 6 жыл бұрын
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?
@hollouise8134
@hollouise8134 4 жыл бұрын
Absolute legend
@dripsquad7676
@dripsquad7676 3 жыл бұрын
thank you Nicholas a lot this was awesome explanation and video
@dimpln7713
@dimpln7713 Жыл бұрын
this is so simple, amazing explanation thank you
@gcjas1998
@gcjas1998 6 жыл бұрын
Simple and concise. Thank you.
@tutuuo
@tutuuo 6 жыл бұрын
Concise wasn''t necessary lmao
@askram91
@askram91 7 жыл бұрын
Very useful one,Thank you
@user-bx8sj6qm3w
@user-bx8sj6qm3w Жыл бұрын
Thank you, now I can solve my homework in detail as asked ❤️
@ning1606
@ning1606 7 жыл бұрын
great video!
@SmokeBloody
@SmokeBloody 4 жыл бұрын
Thanks, you really helped!
@redabou9al562
@redabou9al562 9 ай бұрын
thank you for this clear explanation.
@eshaanbagga5159
@eshaanbagga5159 2 жыл бұрын
Nicely explained.
@b213videoz
@b213videoz Жыл бұрын
Excellent video!
@s.u.5285
@s.u.5285 5 жыл бұрын
Is there a reverse video tutorial where you go from the long binary back into 23.75 ?
@aminabdi7026
@aminabdi7026 5 жыл бұрын
check this one he explains it properly kzfaq.info/get/bejne/d7tkd9epsp_LkmQ.html
@Edw590
@Edw590 4 жыл бұрын
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.
@gauravbadhani159
@gauravbadhani159 4 жыл бұрын
easy explanation thankyou..
@sanakashgouli2870
@sanakashgouli2870 5 жыл бұрын
THANK YOU SO MUCH *_______*
@pyrobosnia6659
@pyrobosnia6659 2 жыл бұрын
Thank you soo much!
@friday8118
@friday8118 2 жыл бұрын
so we multiply to convert the other way?
@beforethescene7880
@beforethescene7880 2 жыл бұрын
thank you so much I love you
@abdullahmohammad5613
@abdullahmohammad5613 4 жыл бұрын
What if the number was like 2E-40! What shall we do then?
@Florrrra
@Florrrra 6 жыл бұрын
Anyone tell me why is 23.75(10) in the end? Thanks
@bensear
@bensear 6 жыл бұрын
the (10) shows it is base 10 denary rather than base 2 binary
@lmnop291
@lmnop291 4 жыл бұрын
what would be the "127" value for double
@hive9349
@hive9349 4 жыл бұрын
1023
@davidcopher6294
@davidcopher6294 4 жыл бұрын
For a single-precision number, (127). For a double-precision number, (1023).
@muhammadfaizan9909
@muhammadfaizan9909 4 жыл бұрын
stay bless
@12rhQ
@12rhQ Жыл бұрын
thank you, very good
@francisferri2732
@francisferri2732 Жыл бұрын
Thank you :D
@020-kavitham5
@020-kavitham5 3 жыл бұрын
Easily explained bro
@laibaarraik729easyconcept
@laibaarraik729easyconcept 2 жыл бұрын
Sir, i did not get exponent work....kindly derive
@liquidsvp
@liquidsvp Жыл бұрын
on photoshop ^^^
@donnan7709
@donnan7709 5 жыл бұрын
Why is it Sign, Exponent then Mantissa. I thought it was Sign, Mantissa then Exponent
@pietheijn-vo1gt
@pietheijn-vo1gt 10 ай бұрын
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.
@Xperto_
@Xperto_ 4 жыл бұрын
You poorly explained how to move the dot
@sanakashgouli2870
@sanakashgouli2870 5 жыл бұрын
THANK YOU SO MUCH *_______*
Floating Point Numbers
17:30
0612 TV w/ NERDfirst
Рет қаралды 119 М.
HOW TO: Convert Decimal to IEEE-754 Single-Precision Binary
11:05
Steven Petryk
Рет қаралды 447 М.
1 or 2?🐄
00:12
Kan Andrey
Рет қаралды 40 МЛН
ОСКАР ИСПОРТИЛ ДЖОНИ ЖИЗНЬ 😢 @lenta_com
01:01
Floating Point Numbers - Computerphile
9:16
Computerphile
Рет қаралды 2,3 МЛН
convert to floating point
6:00
9ps
Рет қаралды 119 М.
Decimal Fractions to Binary
4:28
EnggClasses
Рет қаралды 304 М.
Decimal to IEEE 754 Floating Point Representation
9:27
Abishalini Sivaraman
Рет қаралды 1,4 МЛН
Decimal to IEEE 754 Standard Binary Conversion
10:02
EducationAboutStuff
Рет қаралды 155 М.
Representations of Floating Point Numbers
13:50
Neso Academy
Рет қаралды 182 М.
How to Convert Floating Point Decimal Numbers to Binary
10:01
EE Prof Lady
Рет қаралды 15 М.
IEEE 754 Floating Point Representation to its Decimal Equivalent
7:26
Abishalini Sivaraman
Рет қаралды 456 М.
How to Convert Decimals to Hexadecimal
9:35
tecmath
Рет қаралды 4,1 М.
1 or 2?🐄
00:12
Kan Andrey
Рет қаралды 40 МЛН