Floating Point Number Representation - Conversion Example

  Рет қаралды 233,782

Daniel

Daniel

Күн бұрын

Пікірлер: 117
@michaelmonh962
@michaelmonh962 9 жыл бұрын
Final in a couple of hours... thank you so freaking much!
@zacharykentner6765
@zacharykentner6765 6 жыл бұрын
Update on how the test went? lol
@Yourmom-er4vg
@Yourmom-er4vg 5 жыл бұрын
we need the update
@Borzacchinni
@Borzacchinni 5 жыл бұрын
@@Yourmom-er4vg seems like it didnt go that well :(
@TareqB_
@TareqB_ 4 жыл бұрын
What happened to the test?? 🙂🙂
@michaelmonh962
@michaelmonh962 4 жыл бұрын
Update: I graduated 😂😂😂
@hrajatverma
@hrajatverma 5 жыл бұрын
Thank you so much. I watched many videos but you cleared my all doubts. Thank you again.
@ShivamMiglani
@ShivamMiglani 8 жыл бұрын
Sign bit is not mantissa but the fraction is. :/
@NJSxPSYOP
@NJSxPSYOP 10 жыл бұрын
Man I just wanna say thanks for this video. Really helped me out a lot!
@nathanporter2001
@nathanporter2001 6 жыл бұрын
The sign bit is not called the mantissa. That refers to the fractional component of the floating-point number.
@a7med3bbady
@a7med3bbady 10 жыл бұрын
clear, fast and simple. just perfect thank you
@eusebiuebi
@eusebiuebi 7 жыл бұрын
You sir, are my saviour. Thank you so much for fast and exact explanation
@terraint3697
@terraint3697 7 жыл бұрын
Thank you! Your videos are so handy! Quick and precise info!
@sigururbaldursson8118
@sigururbaldursson8118 10 жыл бұрын
Should say this is only for normalized. When you do denormalized you would not have the 1. at the left of the dot but 0.1 etc. like he is doing it the normalized way at minute 01:00
@frezertesfaye9055
@frezertesfaye9055 7 жыл бұрын
pleas how to get a number 127?
@AfroDanceWithZeAmazingBreezy
@AfroDanceWithZeAmazingBreezy 10 жыл бұрын
what if the number after the radix wasnt repetitive.... should we fill the other bits with zeros till we get 23bits for the mantissa?
@vishakhadixit4318
@vishakhadixit4318 5 жыл бұрын
Why adding with 127??
@vincentdanna3689
@vincentdanna3689 5 жыл бұрын
From what I understand, it is the "bias", which is a constant that is added. I believe it is added to make sure the represented value is non- negative.
@alibarma6650
@alibarma6650 8 жыл бұрын
how the heck mantissa became the first part of the particular stuff???
@waleedabbasi7030
@waleedabbasi7030 8 жыл бұрын
hi Daniel can you help ..... about (for example) how to represent 182.74 as afloating point number
@danielgnz5483
@danielgnz5483 5 жыл бұрын
Great explanation ! Thank you, Daniel
@БеглиСапаров-м3т
@БеглиСапаров-м3т 10 жыл бұрын
Why do you replicate the mantissa? After recording : 0100110011 will be filled with zeros. If I am wrong then please explain why.
@bustergaa
@bustergaa 8 жыл бұрын
is x the 2 to the decimal number needed? I know it is to get the full 23 bits on the Mantissa but my test paper says that we only need to use the number from when the decimal is moved.
@eclypze_
@eclypze_ 2 жыл бұрын
Thanks, I was having trouble with this
@princedewangan1346
@princedewangan1346 8 жыл бұрын
good job my friend
@majeste07
@majeste07 11 ай бұрын
thank you for clear explanation
@GabrielWehrle
@GabrielWehrle 4 жыл бұрын
Thanks for your help!
@muhamedsamy895
@muhamedsamy895 9 жыл бұрын
Thank you so much, Daniel.
@bradleymarshall1996
@bradleymarshall1996 8 жыл бұрын
where did you get the A from?
@kayodeoladipupo5378
@kayodeoladipupo5378 3 жыл бұрын
I reverse my statement. But that multiple of that radix point or decimal or real point is not properly explain. Please elucidate on another video thanks.
@walidhnaidy6059
@walidhnaidy6059 6 жыл бұрын
you are the best 💓
@damxx1827
@damxx1827 8 жыл бұрын
Why did you move the decimal point to the right two places?
@marcelchelo2
@marcelchelo2 8 жыл бұрын
its called normalizing, you move it how many times needed untill there is only one number to left of the dot.
@ziadmh4590
@ziadmh4590 7 жыл бұрын
why we add 127 to exponent ?
@sachins117
@sachins117 7 жыл бұрын
Ziad Mh 127 actually....is the constant .....exponent can vary between -128 to +127.....
@silentsnow996
@silentsnow996 7 жыл бұрын
finally found a video that explains my homework
@raggyrags590
@raggyrags590 4 жыл бұрын
How can we take the value of E as 127 and also how did the expression turned up to be E+2 could you please explain
@zawad11
@zawad11 4 жыл бұрын
As far as i can understand, E+2 is the same as 10 to the power 2. And I don't think he's taking the value of E as 127. The value of E is +2 in this case. He's just adding the integer bias of floating point with the value of E. As the exponent is 8 bits here, thus the integer bias is {(2^8-1)-1}=127. At last he's converting the outcome into binary..hope that helps.. :)
@Kumamon-1230
@Kumamon-1230 8 жыл бұрын
This made the whole process much more easy and understandable But it would be better if there more explanation for the structure of the floating point standard But yet, this saved my ass for the exam
@LegendaryZappyBoy007
@LegendaryZappyBoy007 8 жыл бұрын
how do u know its a pattern of just zeros
@basictechs6634
@basictechs6634 4 жыл бұрын
thank you for the explanation
@rvijay7348
@rvijay7348 10 жыл бұрын
why 127+2
@thejunks3597
@thejunks3597 7 жыл бұрын
I find it's just adding a 1 on the front of the characteristic so the characteristic is basically just the exponent in binary.. so if it was 6-bit for the characteristic and the exponent was 3 it should be 100011 for an 8-bit characteristic it would be 10000011 I find the bias is just the number needed to add a 1 to the front of the start of the characteristic
@sonulohani
@sonulohani 7 жыл бұрын
Exponent bias
@alihankayhan7841
@alihankayhan7841 7 жыл бұрын
cuz he shifted left 2 times.
@IIxINTENSAxII
@IIxINTENSAxII 10 жыл бұрын
Fast and clear thank you !
@twistedsab
@twistedsab 9 жыл бұрын
Excellent work, thank you
@oamost
@oamost 9 жыл бұрын
Excellent explanation technique, many thanks!
@james106810
@james106810 9 жыл бұрын
Thanks very much! helped a bunch
@shorttuts
@shorttuts 8 жыл бұрын
Can I use this same process if I am asked to represent the same number but with a mantissa of 16bits, an exponent of 8bits and of course the sign bit of 1bit? Do you have a video which show how to take that binary representation and change it to decimal again?
@awn-exotic8439
@awn-exotic8439 8 жыл бұрын
I know this is an old question, but i'm replying for the sake of others with the same question. You do it in a very *Similar* way, but not exactly the same. The 2 differences are: 1) with the 8-bit exponent: You don't add 127 to the exponent, you keep the exponent the same as you calculated. 2a) When calculating the mantissa: You make the mantissa Zero-point-something not One-point-something i.e He got it as *1.*0100110011... but with a 16-bit mantissa, you would get *0.1*0100110011.... (your exponent is gonna be E^3 not instead of E^2 as you are deceasing your mantissa by an additional power) 2b) Your mantissa will thus start 101001100... not 0100110011... as you now include the *1.* in your mantissa.
@Saadx71
@Saadx71 5 жыл бұрын
Thank you very much man
@dalerichardson7236
@dalerichardson7236 10 жыл бұрын
You are the man!
@Zerpentile93
@Zerpentile93 10 жыл бұрын
I'm just going to ignore why that biased thing is added. Thanks for explaining.
@javairclarke5745
@javairclarke5745 10 жыл бұрын
Thanks a lot, Your tutorial was of great help.
@thomasleong3510
@thomasleong3510 8 жыл бұрын
Daniel how you know the rest of number is "0011001100110011... instead of 000000000000....?
@madzharavusaniandy2199
@madzharavusaniandy2199 9 жыл бұрын
Thanks I found your explanation helpful
@ranliao3827
@ranliao3827 8 жыл бұрын
Why 127?
@ayushjaiswalawesome
@ayushjaiswalawesome 8 жыл бұрын
+廖然 floating-point-gui.de/formats/fp/
@manthanchauhan6954
@manthanchauhan6954 7 жыл бұрын
what's that
@sonulohani
@sonulohani 7 жыл бұрын
Exponent bias
@alihankayhan7841
@alihankayhan7841 7 жыл бұрын
Cuz he shitfted left 2 times.
@kalyaninutopia
@kalyaninutopia 6 жыл бұрын
That is called bias, added to the number so that it doesn't have to explicitly store a sign bit. So, 0 becomes 127, -127 is stored as 0.
@nasirhayat7168
@nasirhayat7168 7 жыл бұрын
why .2 x2
@alihankayhan7841
@alihankayhan7841 7 жыл бұрын
Its just rule. If u want to find binary value of float part need to multiply by 2.
@reecedeyoung6595
@reecedeyoung6595 6 жыл бұрын
Because it's base two. You can think of 0.1 in binary as 1/2 or .5 in decimal 0.01 is 1/4 or .25
@bradleymarshall1996
@bradleymarshall1996 8 жыл бұрын
Thank you! Exam tomorrow. You saved me. What happens if the exponent is larger than 8 bits though? for example if the decimal place is shifted 129 places which would make 127+129 = 2^8, which is 100000000, larger than 8 bits. Perhaps this is an unrealistic case as 129 shifts is a really small number.
@ishanmadhusankaamarathunga3930
@ishanmadhusankaamarathunga3930 6 жыл бұрын
Good Explanation
@johnpartridge6490
@johnpartridge6490 7 жыл бұрын
Very well done! Is 64 bit representation any different or are there simply more positions that are used in pretty much the same way?
@e_a_at
@e_a_at 2 жыл бұрын
You might visit his blog at the end of the video.
@htnguvon8693
@htnguvon8693 8 жыл бұрын
Thank you very much for this video
@ScientistRenzo
@ScientistRenzo 5 жыл бұрын
Thank you!!❗️
@elenawilson2271
@elenawilson2271 10 жыл бұрын
How to convert -0.0125 to binary
@JiJi-jn7pr
@JiJi-jn7pr 6 жыл бұрын
why 1.01 0011? not 0.101 0011?
@prasadkishorpanchakshari1503
@prasadkishorpanchakshari1503 9 жыл бұрын
Thank you so much bro ! Many thanks ! :)
@salut730
@salut730 7 жыл бұрын
Thank you, great explanation 👍
@virgiliodirks
@virgiliodirks 9 жыл бұрын
Thanks. You helped alot.
@زهرةاحمد-و7غ
@زهرةاحمد-و7غ 8 жыл бұрын
شكرا جزيلا لك استاذ
@instaminox
@instaminox 6 жыл бұрын
The access 127 is not a trick it’s for the ieee754
@GRYDE2000
@GRYDE2000 9 жыл бұрын
Thank you!
@catulusinferni8612
@catulusinferni8612 5 жыл бұрын
Thanks alot. But I guess I didn't fully understand it, because I can't calculate other numbers... What do you do if there is more then 1 digit after the . ? Like 5.25 Because if you multiply 25 with 2 you have a number bigger then 1 to mark as the binary expression, would you multiply the 5 again with 2 and would note 01 for that? What do you do if you have .75 or .898 ans so on? :/
@maihuongnguyen3767
@maihuongnguyen3767 9 жыл бұрын
thank u vr much !
@iskenderbayndr4442
@iskenderbayndr4442 6 жыл бұрын
Thank you bro. For exam.
@markdioneeb8997
@markdioneeb8997 7 жыл бұрын
NICE!!!
@Florrrra
@Florrrra 7 жыл бұрын
Thanks a lot !!!
@3washoka
@3washoka 7 жыл бұрын
thank you
@ghulamhaider2540
@ghulamhaider2540 6 жыл бұрын
simply.. wowwww
@Angel-vb5mu
@Angel-vb5mu 9 жыл бұрын
why 0.8 times 2 is 0.6? Anyway, this video is great! simple and got the point!
@johnpaulomusic4766
@johnpaulomusic4766 9 жыл бұрын
Angel Ho cause 0.8x2 is 1.6 so we take 1 and then we are left with 0.6
@Angel-vb5mu
@Angel-vb5mu 9 жыл бұрын
great, thanks
@ashasharma7829
@ashasharma7829 7 жыл бұрын
nice help for exam
@bphanikrishna1
@bphanikrishna1 8 жыл бұрын
101.00110011.... 1.0100110011...E+2 upto this ok. But how they write 127 127+2 please explain me
@sonulohani
@sonulohani 7 жыл бұрын
127 is Exponent bias
@alihankayhan7841
@alihankayhan7841 7 жыл бұрын
Cuz he shifted left 2 times.
@ghettomusic132
@ghettomusic132 6 жыл бұрын
127 because excess-127
@thivankasaranga9804
@thivankasaranga9804 9 жыл бұрын
Great. .. :)
@webad8770
@webad8770 4 жыл бұрын
your solution not for any lead zero numbers
@edeny591
@edeny591 7 жыл бұрын
Gal Kaminka brought me here
@OxFLIP
@OxFLIP 7 жыл бұрын
not clear enough..
@mddilshadislam6617
@mddilshadislam6617 6 жыл бұрын
God bless you
@maldoesfitness
@maldoesfitness 10 жыл бұрын
129 has to be like 10000010 correct?
@DanielSodkiewicz
@DanielSodkiewicz 10 жыл бұрын
129 is 10000001 Try using some online calculators to confirm your numbers. Example: www.mathsisfun.com/binary-decimal-hexadecimal-converter.html
@МаксимКолядин-с8г
@МаксимКолядин-с8г 7 жыл бұрын
You could've taken time and washed the dirt off your nails before shooting the video
@aizatrahim8437
@aizatrahim8437 7 жыл бұрын
final in a couple of seconds , sure come out meh !
@kayodeoladipupo5378
@kayodeoladipupo5378 3 жыл бұрын
Why would you say a trick of adding range of 127bits of 64byte functions. It kind of wickedness. Don't waste time on this video, the floating point units is not fully explain in a lame man's knowledge. It's for the expert like us.
@laracroft0075
@laracroft0075 8 жыл бұрын
Thank you so much
@ScopeZDragon
@ScopeZDragon 7 жыл бұрын
Why .2 * 2
@JamesWilson-jw6kh
@JamesWilson-jw6kh 7 жыл бұрын
THANK YOU!
@eibyangeles
@eibyangeles 7 жыл бұрын
Thank you !
@billal2731
@billal2731 Жыл бұрын
Thank you!
Decimal to IEEE 754 Floating Point Representation
9:27
Abishalini Sivaraman
Рет қаралды 1,5 МЛН
IEEE 754 Standard for Floating Point Binary Arithmetic
21:34
Computer Science Lessons
Рет қаралды 260 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Turn any YouTube Channel into your AI Mentor - Obsidian is the ultimate automation workbench for PKM
29:29
Zsolt's Visual Personal Knowledge Management
Рет қаралды 6 М.
HOW TO: Convert Decimal to IEEE-754 Single-Precision Binary
11:05
Steven Petryk
Рет қаралды 459 М.
Representations of Floating Point Numbers
13:50
Neso Academy
Рет қаралды 277 М.
Back To Basics! Fixed Point Numbers in C++
31:24
javidx9
Рет қаралды 62 М.
Binary - The SIMPLEST explanation of Counting and Converting Binary numbers
22:15
IEEE 754 Floating Point Representation to its Decimal Equivalent
7:26
Abishalini Sivaraman
Рет қаралды 493 М.
I built my own 16-Bit CPU in Excel
15:45
Inkbox
Рет қаралды 1,6 МЛН
Binary 4 - Floating Point Binary Fractions 1
11:20
Computer Science Lessons
Рет қаралды 350 М.
I made maps that show time instead of space
10:44
Václav Volhejn
Рет қаралды 872 М.