This video demonstrates how to convert from an IEEE 754 standard 32-bit binary number back into regular binary or decimal.
Жүктеу.....
Пікірлер: 107
@philipwesley77908 жыл бұрын
Thanks for explaining in just over 4 minutes what my comp science lecturer failed to do in several hours.
@CarlsonsRaiders8 жыл бұрын
You explain to me in 4 minutes what my professor failed in an hour. Thank you!
@binexec8 жыл бұрын
Good explanation, but you really should've chosen a better example that has values behind the decimal rather than an integer 9.
@timburkhadt
8 жыл бұрын
+BiN4RY Good example but bad example? xD
@korayozyurt5985
8 жыл бұрын
+Tim Burkhardt imagine a bad example instead of BiN4RY :D
@binexec
8 жыл бұрын
+Tim Burkhardt I meant to say "good explanation", my bad.
@holy-crusader6139
9 ай бұрын
@@timburkhadt you mean good explanation?
@holy-crusader6139
9 ай бұрын
@@binexec ohh okay now it makes sense
@kittye82375 ай бұрын
I don't even know English, but I managed to understand it easily. Congratulations, your way of teaching is fantastic!
@miguellolgayol53804 жыл бұрын
Simple, easy, direct, everything I wish my teacher´s classes were
@NickTronic968 жыл бұрын
Thank you so much. Short and to the point.
@shinythps9 жыл бұрын
Thank you! Very helpful. I had trouble understanding this, but your video cleared my mind from the confusion!
@carlosserrano5194
9 жыл бұрын
ShinyTHPS Helpful Video but I need to know, from where does it come the 1.0010..... ??? ThankYou
@samwashington6680
8 жыл бұрын
+Carlos Serrano well, when you convert back to decimal, you will always have to add that 1 because when you are converting FROM again FROM Decimal to IEEE 754 binary, you just remove 1.(you only care about fraction) and if you look at 2:20 , he got that number from pink highlight, that was considered a fraction because it is separated from other exponent and sign number... sorry for late response.
@SleepyMicky8 жыл бұрын
Thank you so much, keep it up with the good work :)
@carlosserrano51949 жыл бұрын
Forget it, I understood now... ThankYou Very helpful
@khalidbutt87335 жыл бұрын
damn, Quick and straight. Great tutorial
@carla.output7 жыл бұрын
What could happen in the case of having floating points.. i mean... if the aswer is somthing like -9.35 or -35.25 ???? ?? sos!
@ferialebouariche99469 ай бұрын
thaaaaaaaaaaaank you so much I spent a lot time on KZread to understand, finally i understannnd
@milesemanuelpaavola79945 жыл бұрын
Great video thanks for posting. I have a mid-term today, and its helping with my studies. :-D
@conscious5122 Жыл бұрын
i'm being deadass all of the comments saying you explained in four minutes what my professor tried to in multiple hours is 100% sure. thank you
@adampax4 жыл бұрын
really nice example. cheers :)
@weeeewooooweeeeewoooo7 жыл бұрын
please give us an example using a number that isn't an integer!
@thegreenstuff2158 жыл бұрын
how would you go about converting to double precision (64 bits)? would you proceed the same way and just fill in the extra slots in the exponent and mantissa with 0's?
@xXTraceDerailmentXx7 жыл бұрын
When the number is negative and it is in two's complement, do i have to calculate the absolute value of this number first, or is it ok to put only the 1 at the beginning of ieee754?
@user-kv5xt4ph4y3 ай бұрын
Thank you so much. You saved me.
@user-oj4pf5ob2p6 жыл бұрын
Thank you so munch my brother ♥
@jermmylaso22678 жыл бұрын
Excellent explanation. Thank you!! Have an exam in 3 hours :)
@Tedoras
7 ай бұрын
IK its been a 7 years but lool:) did u succeed?
@donotwatchthisvideo25 жыл бұрын
Also do you have any video that deal with negative exponent in converting from decimal to IEEE745?
@byrek16848 жыл бұрын
thanks a lot, great video
@aliceeverheart92376 жыл бұрын
What if there are 1s in the significand? We wouldn't just ignore them like we do if the rest were zeros right?
@GrassLover9 Жыл бұрын
great explanation
@arthurytable8 жыл бұрын
i liked this example. i was confusing. thanks for help me.
@DjikstraAlg_S.I2 жыл бұрын
Hello, please how did you come up with 127 and P as 3? would really appreciate the response. Thank you.
@mohdchand91957 жыл бұрын
thank you good explanation awesome
@KW-dg6fs7 жыл бұрын
So I am assuming the spaces are part of the notation? otherwise 100000 or 1000001 and many other things can be the exponent? edit: nvm, I just realize the exponent have to occupy 8 bits even if its 0000 0000
@paulolopes59395 жыл бұрын
i got a question the value of the exp. is always 8 no matter what????
@SugandhiVerma3 жыл бұрын
how does 127 + power came?
@mightyalekslive6 жыл бұрын
What if the exponent is 00000000 Would that mean that exponent = bias + p => 0 = 127 + p => p = -127 ??
@TheFlyguy319 жыл бұрын
Thank you..very well explained :)
@carlosserrano5194
9 жыл бұрын
Michael Knox Helpful Video but I need to know, from where does it come the 1.0010..... ??? ThankYou
@hulekm
3 жыл бұрын
@@carlosserrano5194 In case you spent last 5 years trying to find answer, here it is. 1, (before the comma) is always there . ,001 (after the comma) is from fraction (bit 0-22)
@mariusveierland8153 жыл бұрын
thank you very much
@creatividad_nula31788 жыл бұрын
What type of round did you use? I've read that IEEE 754 uses 4 types of round. Thanks :)
@mzmzmzms5 жыл бұрын
nice work
@lockercoin36937 жыл бұрын
good job!
@user-gm2kz5vl1w8 ай бұрын
Good explaination thanke your f❤
@Gamuss123454 ай бұрын
Can someone explain to me why it's a 1 in 2:42? I thought it has to be 0 as it's a positive binary number.
@donotwatchthisvideo25 жыл бұрын
Thank you so much
@lockercoin36937 жыл бұрын
thx man!
@HopeeInk5 жыл бұрын
good bless you 😭😭😭😭❤
@vedantu22544 жыл бұрын
Thank you
@salikathiunuvanwijewardana91876 жыл бұрын
thank you sir
@starseer737 жыл бұрын
what do you do if there are still values after the decimal after moving it??
@michaelbauers8800
6 жыл бұрын
You probably figured this out. But in case someone else was confused...consider what .1 means in base 10. It's in the 10^-1 position ( the 1/10th position). 1*(1/10)=1/10=.1 It works the same way in base 2. .1 in base 2 is 1*2^-1=1/2=.5. In base 2, the places to the right of the decimal place are 1/2, 1/4, 1/8, 1/16, ... and so on. .111 in base 2 is, in base 10, 1/2+1/4+1/8=(4+2+1)/8=7/8=.875. Just remember that for all bases, the places of the number are the powers of the base. In base 10, we have ... 10^3, 10^2, 10^1, 10^0, 10^-1, 10^-2, ... ( 1000, 100, 10, 1, 1/10, 1/100). In base 2, we have ...2^3, 2^2, 2^1, 2^0, 2^-1, 2^-2 ( 8, 4, 2, 1, .5, .25).
@Chip8000
6 жыл бұрын
fucking legend. thank you ;)
@MrLennon704 жыл бұрын
Where did you get 1.0010.... ?
@armanicanady72844 жыл бұрын
why is the sign positive ?
@confianceallah99017 жыл бұрын
Merci ......trés bien
@carlosserrano51949 жыл бұрын
Helpful Video but I need to know, from where does it come the 1.0010..... ??? ThankYou
@combatcraz2254
3 жыл бұрын
this one is known as a hidden 1 because we hide it when converting from decimal to binary
@ManalManal-eb8ri8 жыл бұрын
thank you
@serignembackecoulibaly98642 ай бұрын
thanks you
@spillitnow5 жыл бұрын
What does bias mean in this context? How do you know the bias is 127?
@hughmungus1572
5 жыл бұрын
yeah I'm wondering the same. Poor explanation.
@igormeo8744
5 жыл бұрын
In 32 bit the bias is 127
@adamdebesai8 жыл бұрын
Great explanation
@MyNegativeCreep5 жыл бұрын
I thought 0 = positive and 1 is negative?
@sarints31477 жыл бұрын
how do u convert 1000000000000000011111111111111
@joshoduyoye1109 жыл бұрын
What if the p was a negative number? Like -1 ... How do you solve it then?
@xXGuitarFrom71Xx
9 жыл бұрын
Josh Oduyoye I think if you get a negative p that means you must shift your point leftwards. Imagine you ave, like in the example, 1.001... (adding that 1, as the uploader said), you would just shift the point to the left, and the result will be 0.1001... That in terms of computers is a non-normalized number, because its integer part is 0...
@husnainfayaz
8 жыл бұрын
+GuitarFrom71 covers! i have hexadecimal i,e 3F 99 99 9A and p is -16 now what?????
@janikti86057 жыл бұрын
is this single precision numbers?
@aqleemasajid
7 жыл бұрын
yes, which is 32 bits.
@haroldtran10238 жыл бұрын
if p
@Lietuvis777
8 жыл бұрын
+tran khanh then the point goes to the opposite side (left)
@haroldtran1023
8 жыл бұрын
tks you =))
@debbiezepeda8 жыл бұрын
how does the exponent go from 128 to 130?
@theorangeiscool1
8 жыл бұрын
+Debbie Zepeda 1000000 = 2^7 = 128, but the exp is 1000010 which is 128 + 2 (because 10 in binary is equal to 2)
@guitarmenace1981
8 жыл бұрын
+theorangeiscool1 10000000 = 2^7 = 128
@duskshadow25
8 жыл бұрын
1000 0010 = 128 + 2 = 130. Remember that it's in base of 2. That's an 8 bit, so it goes from right to left 2^0, 2^1, 2^2, 2^3, 2^4, 2^5, 2^6, 2^7. Because the first four numbers are 1000, we know that is 2^7 (128). The second 4 numbers are 0010, which we know that is 2^1 (2). Remember that we ignore the 0. Therefore, 128 + 2 = 130
@dieudobizitech23168 жыл бұрын
je suis pour votre exlicaction
@tarabarghian48435 жыл бұрын
(C1F70000)IEEE754−32bit=(?)10 i dont know how to solve some sample like this yet :(:(
@shawnkhoo19493 жыл бұрын
This video is so simple some steps just doesn't make sense without explanation. Like how did he get 127 for bias? And why the p = 3 isn't brought into the next equations? SMH
@redarsenal83408 жыл бұрын
how did you get bias = 127?
@duskshadow25
8 жыл бұрын
Whatever you get for the exponent part, you will always use that number to subtract 127 because in 8 bits the highest is 127 since it's from 0 to 127. In this case, if you have 1000|0010 = 128 + 2 = 130. Use 130 - 127 = 3. The idea of 127 is the same as adding a 1 in front of the fraction portion. It'll always be 1.###.... except in this case you will always subtract 127 because that's the highest it goes in 8 bits.
@angrycolonel19572 жыл бұрын
I watched the vid a few times and still don't know whats he doing :(
@ABHA11117 жыл бұрын
suppose no. given was : 010000000 11000000 0000 0000 0000 0000 then as per my calculations P=1 ..., so in 1.1100000..... i shifted one decimal which gives me 11.100000..... so deciaml representation of (11) is 3 but answer is given 3.5
@viniciustinoco5261
6 жыл бұрын
I know it is too late for you but for new person ... The answer is, to the left of "." you will have 2^-1, 2^-2 ... so you have 11 (equals 3) + 2^-1 (equal 0.5). The final result is 3.5.
@syedaiqrawaseem413
6 жыл бұрын
why are u adding powers in minus ? and why you add 2^-1 in 3? whats the logic behind it please elaborate
@hidayetelayadi23218 жыл бұрын
affter doing every thing i got 1010.01 thats 10. ????
@Amonfobious
8 жыл бұрын
10.25
@SkillnoMusic4 жыл бұрын
can you teach my teacher how to teach?
@DeathToCockroaches7 жыл бұрын
How the hell is "P" = 3?
@dotexpress9689
7 жыл бұрын
130-127
@ajiteshbansal8998
4 жыл бұрын
@@dotexpress9689 how did you considered the bias as 127 ???
@sheepman62916 жыл бұрын
you sound like ryan reynolds.
@MrStraightface8 жыл бұрын
BIG OLE CHUNK OF CRAP. kudos lol
@TheJupiteL
8 жыл бұрын
+Chris G lol, the channel name should be EducationAboutStufforwhatever.
@yusufklc11843 жыл бұрын
bro come on, wtf is 9.0??????? or cant u calculate 9.057 ? huh
@bonfacemwangi67284 жыл бұрын
good explanation, but the value you chose is way too easy. in the end i find my self still lost
@PauloConstantino1676 жыл бұрын
wow you are very slow, you sure you understand it ?
Пікірлер: 107
Thanks for explaining in just over 4 minutes what my comp science lecturer failed to do in several hours.
You explain to me in 4 minutes what my professor failed in an hour. Thank you!
Good explanation, but you really should've chosen a better example that has values behind the decimal rather than an integer 9.
@timburkhadt
8 жыл бұрын
+BiN4RY Good example but bad example? xD
@korayozyurt5985
8 жыл бұрын
+Tim Burkhardt imagine a bad example instead of BiN4RY :D
@binexec
8 жыл бұрын
+Tim Burkhardt I meant to say "good explanation", my bad.
@holy-crusader6139
9 ай бұрын
@@timburkhadt you mean good explanation?
@holy-crusader6139
9 ай бұрын
@@binexec ohh okay now it makes sense
I don't even know English, but I managed to understand it easily. Congratulations, your way of teaching is fantastic!
Simple, easy, direct, everything I wish my teacher´s classes were
Thank you so much. Short and to the point.
Thank you! Very helpful. I had trouble understanding this, but your video cleared my mind from the confusion!
@carlosserrano5194
9 жыл бұрын
ShinyTHPS Helpful Video but I need to know, from where does it come the 1.0010..... ??? ThankYou
@samwashington6680
8 жыл бұрын
+Carlos Serrano well, when you convert back to decimal, you will always have to add that 1 because when you are converting FROM again FROM Decimal to IEEE 754 binary, you just remove 1.(you only care about fraction) and if you look at 2:20 , he got that number from pink highlight, that was considered a fraction because it is separated from other exponent and sign number... sorry for late response.
Thank you so much, keep it up with the good work :)
Forget it, I understood now... ThankYou Very helpful
damn, Quick and straight. Great tutorial
What could happen in the case of having floating points.. i mean... if the aswer is somthing like -9.35 or -35.25 ???? ?? sos!
thaaaaaaaaaaaank you so much I spent a lot time on KZread to understand, finally i understannnd
Great video thanks for posting. I have a mid-term today, and its helping with my studies. :-D
i'm being deadass all of the comments saying you explained in four minutes what my professor tried to in multiple hours is 100% sure. thank you
really nice example. cheers :)
please give us an example using a number that isn't an integer!
how would you go about converting to double precision (64 bits)? would you proceed the same way and just fill in the extra slots in the exponent and mantissa with 0's?
When the number is negative and it is in two's complement, do i have to calculate the absolute value of this number first, or is it ok to put only the 1 at the beginning of ieee754?
Thank you so much. You saved me.
Thank you so munch my brother ♥
Excellent explanation. Thank you!! Have an exam in 3 hours :)
@Tedoras
7 ай бұрын
IK its been a 7 years but lool:) did u succeed?
Also do you have any video that deal with negative exponent in converting from decimal to IEEE745?
thanks a lot, great video
What if there are 1s in the significand? We wouldn't just ignore them like we do if the rest were zeros right?
great explanation
i liked this example. i was confusing. thanks for help me.
Hello, please how did you come up with 127 and P as 3? would really appreciate the response. Thank you.
thank you good explanation awesome
So I am assuming the spaces are part of the notation? otherwise 100000 or 1000001 and many other things can be the exponent? edit: nvm, I just realize the exponent have to occupy 8 bits even if its 0000 0000
i got a question the value of the exp. is always 8 no matter what????
how does 127 + power came?
What if the exponent is 00000000 Would that mean that exponent = bias + p => 0 = 127 + p => p = -127 ??
Thank you..very well explained :)
@carlosserrano5194
9 жыл бұрын
Michael Knox Helpful Video but I need to know, from where does it come the 1.0010..... ??? ThankYou
@hulekm
3 жыл бұрын
@@carlosserrano5194 In case you spent last 5 years trying to find answer, here it is. 1, (before the comma) is always there . ,001 (after the comma) is from fraction (bit 0-22)
thank you very much
What type of round did you use? I've read that IEEE 754 uses 4 types of round. Thanks :)
nice work
good job!
Good explaination thanke your f❤
Can someone explain to me why it's a 1 in 2:42? I thought it has to be 0 as it's a positive binary number.
Thank you so much
thx man!
good bless you 😭😭😭😭❤
Thank you
thank you sir
what do you do if there are still values after the decimal after moving it??
@michaelbauers8800
6 жыл бұрын
You probably figured this out. But in case someone else was confused...consider what .1 means in base 10. It's in the 10^-1 position ( the 1/10th position). 1*(1/10)=1/10=.1 It works the same way in base 2. .1 in base 2 is 1*2^-1=1/2=.5. In base 2, the places to the right of the decimal place are 1/2, 1/4, 1/8, 1/16, ... and so on. .111 in base 2 is, in base 10, 1/2+1/4+1/8=(4+2+1)/8=7/8=.875. Just remember that for all bases, the places of the number are the powers of the base. In base 10, we have ... 10^3, 10^2, 10^1, 10^0, 10^-1, 10^-2, ... ( 1000, 100, 10, 1, 1/10, 1/100). In base 2, we have ...2^3, 2^2, 2^1, 2^0, 2^-1, 2^-2 ( 8, 4, 2, 1, .5, .25).
@Chip8000
6 жыл бұрын
fucking legend. thank you ;)
Where did you get 1.0010.... ?
why is the sign positive ?
Merci ......trés bien
Helpful Video but I need to know, from where does it come the 1.0010..... ??? ThankYou
@combatcraz2254
3 жыл бұрын
this one is known as a hidden 1 because we hide it when converting from decimal to binary
thank you
thanks you
What does bias mean in this context? How do you know the bias is 127?
@hughmungus1572
5 жыл бұрын
yeah I'm wondering the same. Poor explanation.
@igormeo8744
5 жыл бұрын
In 32 bit the bias is 127
Great explanation
I thought 0 = positive and 1 is negative?
how do u convert 1000000000000000011111111111111
What if the p was a negative number? Like -1 ... How do you solve it then?
@xXGuitarFrom71Xx
9 жыл бұрын
Josh Oduyoye I think if you get a negative p that means you must shift your point leftwards. Imagine you ave, like in the example, 1.001... (adding that 1, as the uploader said), you would just shift the point to the left, and the result will be 0.1001... That in terms of computers is a non-normalized number, because its integer part is 0...
@husnainfayaz
8 жыл бұрын
+GuitarFrom71 covers! i have hexadecimal i,e 3F 99 99 9A and p is -16 now what?????
is this single precision numbers?
@aqleemasajid
7 жыл бұрын
yes, which is 32 bits.
if p
@Lietuvis777
8 жыл бұрын
+tran khanh then the point goes to the opposite side (left)
@haroldtran1023
8 жыл бұрын
tks you =))
how does the exponent go from 128 to 130?
@theorangeiscool1
8 жыл бұрын
+Debbie Zepeda 1000000 = 2^7 = 128, but the exp is 1000010 which is 128 + 2 (because 10 in binary is equal to 2)
@guitarmenace1981
8 жыл бұрын
+theorangeiscool1 10000000 = 2^7 = 128
@duskshadow25
8 жыл бұрын
1000 0010 = 128 + 2 = 130. Remember that it's in base of 2. That's an 8 bit, so it goes from right to left 2^0, 2^1, 2^2, 2^3, 2^4, 2^5, 2^6, 2^7. Because the first four numbers are 1000, we know that is 2^7 (128). The second 4 numbers are 0010, which we know that is 2^1 (2). Remember that we ignore the 0. Therefore, 128 + 2 = 130
je suis pour votre exlicaction
(C1F70000)IEEE754−32bit=(?)10 i dont know how to solve some sample like this yet :(:(
This video is so simple some steps just doesn't make sense without explanation. Like how did he get 127 for bias? And why the p = 3 isn't brought into the next equations? SMH
how did you get bias = 127?
@duskshadow25
8 жыл бұрын
Whatever you get for the exponent part, you will always use that number to subtract 127 because in 8 bits the highest is 127 since it's from 0 to 127. In this case, if you have 1000|0010 = 128 + 2 = 130. Use 130 - 127 = 3. The idea of 127 is the same as adding a 1 in front of the fraction portion. It'll always be 1.###.... except in this case you will always subtract 127 because that's the highest it goes in 8 bits.
I watched the vid a few times and still don't know whats he doing :(
suppose no. given was : 010000000 11000000 0000 0000 0000 0000 then as per my calculations P=1 ..., so in 1.1100000..... i shifted one decimal which gives me 11.100000..... so deciaml representation of (11) is 3 but answer is given 3.5
@viniciustinoco5261
6 жыл бұрын
I know it is too late for you but for new person ... The answer is, to the left of "." you will have 2^-1, 2^-2 ... so you have 11 (equals 3) + 2^-1 (equal 0.5). The final result is 3.5.
@syedaiqrawaseem413
6 жыл бұрын
why are u adding powers in minus ? and why you add 2^-1 in 3? whats the logic behind it please elaborate
affter doing every thing i got 1010.01 thats 10. ????
@Amonfobious
8 жыл бұрын
10.25
can you teach my teacher how to teach?
How the hell is "P" = 3?
@dotexpress9689
7 жыл бұрын
130-127
@ajiteshbansal8998
4 жыл бұрын
@@dotexpress9689 how did you considered the bias as 127 ???
you sound like ryan reynolds.
BIG OLE CHUNK OF CRAP. kudos lol
@TheJupiteL
8 жыл бұрын
+Chris G lol, the channel name should be EducationAboutStufforwhatever.
bro come on, wtf is 9.0??????? or cant u calculate 9.057 ? huh
good explanation, but the value you chose is way too easy. in the end i find my self still lost
wow you are very slow, you sure you understand it ?
Thank you