Decimal to IEEE 754 Standard Binary Conversion

Поделиться
HTML-код
  • Опубликовано: 28 сен 2024
  • In this video I demonstrate how to convert -5.75 (base 10) to IEEE 754 binary, in 32-bit/single precision.

Комментарии • 148

  • @AFthawk
    @AFthawk 7 лет назад +137

    Love that pep talk you use at the beginning to get us amped. ;-)

    • @Lvxurie
      @Lvxurie 7 лет назад +10

      actually cracked up so hard at the intro

    • @MultiCodFTW
      @MultiCodFTW 6 лет назад +5

      Actually love how honest he is about this, it's fucking terrible... can't wait to get over this bs lol

  • @MrKushinator420
    @MrKushinator420 6 лет назад +57

    10 minute demo that covers an hour of university material at ny state level, thanks

    • @SkaterProSeven
      @SkaterProSeven 5 лет назад +3

      they get paid per course so i can see why

  • @jibxjib
    @jibxjib 7 лет назад +4

    Dude you made me burst out laughing within 3 seconds of video, I was slightly depressed about my exams tomorrow.
    Thanks for the laugh !

  • @Dsmartcuban
    @Dsmartcuban 7 лет назад +1

    i got 100 on my exam because of this guy. thanks so much

  • @mitchellvandoorn2625
    @mitchellvandoorn2625 5 лет назад

    The introduction of this video really encourages you to continue watching

    • @luminousdragon
      @luminousdragon 4 года назад +1

      I dunno if you were joking, but it really did encourage me. It felt like "yes, even this guy teaching it gets that this is horribly boring, its not just me, i just need to power through it!"

    • @Cobalt985
      @Cobalt985 11 месяцев назад

      @@luminousdragon same here, it did encourage me to switch the video to 1.5x speed as well lol

  • @5kgxistiouvockzit7r94
    @5kgxistiouvockzit7r94 5 лет назад +1

    Bruh, you're literally saving lifes, thank you!

  • @alcatrazclad
    @alcatrazclad 9 лет назад +3

    A lot more clear than my professor. Thanks!

  • @lukecusack6517
    @lukecusack6517 8 лет назад

    couldn't get a better explanation. thank you very much

  • @tianyixue7548
    @tianyixue7548 Год назад

    this made it so much easier thank you

  • @andeluuledna
    @andeluuledna 8 лет назад

    I like your teaching style bro :D
    And this video saved my life

  • @NeraInLove
    @NeraInLove 6 лет назад

    love your enthusiasm :) especially in the first part of the video. ahah Kidding . Thank you

  • @hoshie7906
    @hoshie7906 Год назад

    the way he's as done with this as we are

  • @myspace34james
    @myspace34james 8 лет назад +2

    What kind of application do you use to make this video?

  • @nishimwesamuel
    @nishimwesamuel 9 лет назад

    EducationAboutStuff the binary number in step 4 doesn't equal 32-bit in length.

  • @rockoman100
    @rockoman100 8 лет назад +2

    Do you stop at the first 1 because it's negative and that's the sign bit?

    • @slavkosster
      @slavkosster 8 лет назад +5

      +Rockoman100 no, that's because that 1 can be implied, saving one bit of information :D

  • @chrisgringon4531
    @chrisgringon4531 8 лет назад +1

    thank u man this video is the only understandable other guys were talking shiiiit

  • @christiansanchez1660
    @christiansanchez1660 7 лет назад

    You are saving my life! Thank you!

  • @RAFIKHAN-lg2jy
    @RAFIKHAN-lg2jy 4 года назад

    Where did the negative sign go...can anyone explain?

  • @role1798
    @role1798 6 лет назад +1

    The whole 1.c class is thankful

  • @BCGJohnny
    @BCGJohnny 8 лет назад

    hello, can i ask ? if i had 1100.110 in first step ,so i have to shift point like this : 11.00110 ?

  • @siyuanlai8611
    @siyuanlai8611 7 лет назад

    Thanks you so much. I have a little question. Why do you place the last zeros at the end instead of before the 1?

  • @soraisfinallyhere1305
    @soraisfinallyhere1305 3 года назад

    what if you have something like -1.5

  • @adamoreilly6220
    @adamoreilly6220 9 лет назад

    is -5 in binary not be two's complament of 5 so 011... no?

  • @hotmandead1
    @hotmandead1 8 лет назад

    If i want to make a special 24-bit float what would be the division of the FRACTION/MANTISSA and the EXP given sign takes 1-bit

  • @thegreenstuff215
    @thegreenstuff215 9 лет назад

    What if i wanted to convert it with 64 bit precision? i just fill in the missing zeroes in the exponent and the mantissa?

  • @binarybreak8387
    @binarybreak8387 9 лет назад

    awesome, thanks for the explanation. You explained more clearly than my teacher hahahaha :D

  • @mowa3942
    @mowa3942 5 лет назад +2

    His laugh 😂🌟 02:43

  • @lordasiedu9270
    @lordasiedu9270 3 года назад

    WOOWWW u really explained it well

  • @sebastijanbarlek6033
    @sebastijanbarlek6033 7 лет назад

    so at 4. stage zeroes goes to 32 times when number is negative or?

    • @NoobNoOne1
      @NoobNoOne1 7 лет назад

      You just fill the rest of the number with 0s, it doesn't matter if the number is positive or negative

    • @sebastijanbarlek6033
      @sebastijanbarlek6033 7 лет назад

      Random Strategy ok thanks

  • @khaledsakkaamini4743
    @khaledsakkaamini4743 8 лет назад

    thanks you, the method is very very easy to understand

  • @Burak-tv9he
    @Burak-tv9he 5 лет назад

    Best tutorial ever!

  • @capocannoniere9
    @capocannoniere9 7 лет назад

    thanks from Argentina !

  • @mertgorates3330
    @mertgorates3330 9 лет назад

    thank you great video

  • @vama89
    @vama89 9 лет назад

    Sweet. *high five* Thanks for the explanation! This definitely helps xoxoxoX

  • @sanjitshaw4061
    @sanjitshaw4061 9 лет назад

    awesome video....thanks

  • @pakistanibutt7243
    @pakistanibutt7243 9 лет назад

    really great work by you :)

  • @thomasleong3510
    @thomasleong3510 7 лет назад

    but how u know the rest of number is 000000000000. what if is 00110011... or 1111011100...?

    • @nejq8963
      @nejq8963 7 лет назад

      then just calculate it all :)

    • @thomasleong3510
      @thomasleong3510 7 лет назад

      Nejquake yup, but izit possible have another method to do ?😂😂

    • @NoobNoOne1
      @NoobNoOne1 7 лет назад

      It makes no sense for the rest of the number to be anything other than 0s. Since you would have a different number

    • @thomasleong3510
      @thomasleong3510 7 лет назад

      Yup

    • @thomasleong3510
      @thomasleong3510 7 лет назад

      all i need to do is just calculate 😂

  • @29leej
    @29leej 7 лет назад

    *YOU GUYS MUST KNOW THIS - Special case: The IEEE754 for 0.0 is 0000 0000 0000....(32 digits)

  • @mahdi3fatihi
    @mahdi3fatihi 5 лет назад

    very helpful , thank you

  • @kawtheralateeq8264
    @kawtheralateeq8264 8 лет назад

    Big like for your video

  • @khattab-iv9189
    @khattab-iv9189 7 лет назад

    Thank you
    Very helpful

  • @brunocrnkovic5967
    @brunocrnkovic5967 8 лет назад

    Very helpful
    10/10

  • @krishanchanaka2749
    @krishanchanaka2749 8 лет назад

    Thank u brother

  • @yahyasaad6426
    @yahyasaad6426 4 года назад

    ty very much

  • @haseebhashimi6707
    @haseebhashimi6707 7 лет назад

    thanks dude

  • @amirbarjakli3383
    @amirbarjakli3383 8 месяцев назад

    ty for video :)

  • @dhell0venus567
    @dhell0venus567 6 лет назад

    Thanks

  • @northernstreamer3582
    @northernstreamer3582 7 лет назад

    I LOVE YOU, THANK YOU, SUBSCRIBING, AHHHH

  • @AlpBarazi
    @AlpBarazi 8 лет назад

    this sound like action scenes of kurtlar vadisi' soundtrack. O.o

    • @AlpBarazi
      @AlpBarazi 8 лет назад

      +Alp Barazi as bayrakları as as

  • @oliverurena9886
    @oliverurena9886 6 лет назад

    Thanks you!

  • @xy5572
    @xy5572 8 лет назад

    ty

  • @dominikbaricak9589
    @dominikbaricak9589 10 месяцев назад

    0.75 is not 110 its just 11

  • @nicolastorressegura9924
    @nicolastorressegura9924 6 лет назад

    thank you

  • @heisenberg5136
    @heisenberg5136 6 лет назад

    This dudes voice is agonizing.

  • @adnitkamberi8297
    @adnitkamberi8297 3 года назад

    hhahaha lol that intro

  • @taraa_story
    @taraa_story 6 лет назад

    (C1F70000)IEEE754−32bit​=(?)10​
    i need to solve this :(:(

  • @jonatanjonatan9048
    @jonatanjonatan9048 8 лет назад

    #line17

  • @tobygeo
    @tobygeo 9 месяцев назад

    What do you mean it can float? What is this, water? /joke

  • @ChilleLOL
    @ChilleLOL 9 лет назад +3

    I fell asleep

  • @binexec
    @binexec 9 лет назад +36

    You sound like a really cool guy

  • @Sam-ib6xl
    @Sam-ib6xl 7 лет назад +35

    Increase the speed to !.25 or 1.5. thank me later

  • @orrevuar
    @orrevuar 9 лет назад +6

    I LOVE YOU, MATE, this 10 minutes video explained better than my professor. Simple and clear.

  • @035Obsidian
    @035Obsidian 9 лет назад +9

    This is fucking awesome, thank you.

    • @oscarschiesser9432
      @oscarschiesser9432 9 лет назад

      +Tomas Leitch Pretty sure he just saved our grades haha

  • @rinoboger7329
    @rinoboger7329 4 года назад +4

    good video, i like the depressed midnight studying setting/voice

  • @AndySamuuMSP
    @AndySamuuMSP 11 месяцев назад +2

    straight to the point, thank you 8 years later

  • @snarf45
    @snarf45 Год назад +3

    This is so helpful! Some comp sci subjects really lack proper easy to understand documentation, but this is honestly perfect

  • @d.i.m.i
    @d.i.m.i 9 лет назад +3

    thank you for this video! you even made me laugh:D

  • @nixondutta8192
    @nixondutta8192 8 лет назад +3

    Thank u so much..
    really helpful for the night before of my exam.
    can't thank enough.

  • @samalrai3980
    @samalrai3980 9 лет назад +3

    Damn Man!... Cool Teaching ...

  • @annanguyen6260
    @annanguyen6260 4 года назад +1

    thanks in 2020

  • @fardayekahmed7878
    @fardayekahmed7878 8 лет назад +2

    tnx bro...

  • @michaeltheisen
    @michaeltheisen 2 года назад

    honestly, youre my spirit animal bro "look i didnt invent this so im just gonna call it the fraction"

  • @honeybowl1
    @honeybowl1 8 лет назад +2

    was really helpful

  • @alicheema7859
    @alicheema7859 7 лет назад

    hi does mantista or fraction always starting from 1 or we also do start from 0 as well.....??? anyone

  • @DJkazinova
    @DJkazinova 7 лет назад

    Is the largest dec number in ieee 754 127+127=254 2^127
    and smallest 127-126=1 2^-126
    255 and 0 are exceptions that don't count.

  • @kingberlicapellan2626
    @kingberlicapellan2626 7 лет назад

    You're so awesome, thanks.

  • @teeman9266
    @teeman9266 7 лет назад

    Excellent example, though a bit complex.

  • @tomashruby9349
    @tomashruby9349 9 лет назад +6

    What if you have to shift the floating point to the right (0.125) does that make p < 0 with -3 as p ? and u lower the exponent instead of making it bigger ?

    • @educationaboutstuff3088
      @educationaboutstuff3088  9 лет назад

      I don't know if I fully understand your question, but when you're finding p you will always shift left. What you want to get is 1.- ideally, or even 0.-. You always want to only have one number to the left of your floating point.

    • @tomashruby9349
      @tomashruby9349 9 лет назад +2

      if you have number 0.001 (0.125) u have to shift to right to have format 1.ff

    • @BokiScoutMKD
      @BokiScoutMKD 8 лет назад +2

      +Tomáš Hrubý
      Yes, in that case You have to shift the coma to the right as many places as needed to satisfy the rule of 1 in front of the coma.
      Then the constant of shift amont (in video it is 'p') will be negative number. In example if you shift the coma two places to the right then p = -2.
      Next when you will calculate the exponent, you should do 127 + (- 2) = 125 in decade.
      Step four, is as in the video.

  • @staticx2013
    @staticx2013 8 месяцев назад

    This video is the greatest. Thank you for making it.

  • @shiroime9547
    @shiroime9547 8 лет назад +1

    I finally understood it... Thanks you

  • @johnybonny8262
    @johnybonny8262 5 лет назад

    1 more example should be added for more understanding.

  • @ahamadmuazzam6717
    @ahamadmuazzam6717 9 лет назад

    thank you very very very much sir i am fully understanded

  • @pesti6941
    @pesti6941 6 лет назад +1

    The whole 1.c class is thankful

  • @lbdiva
    @lbdiva 6 лет назад +1

    The whole 1.c class is thankfull

  • @marijanfilipovic1014
    @marijanfilipovic1014 6 лет назад +1

    The whole 1.c class is thankful

  • @annechamalka5598
    @annechamalka5598 4 года назад

    Thank you very much .ment a lot♥️

  • @Calm_Energy
    @Calm_Energy 5 лет назад

    That is a cool trick for converting decimal point to binary point!

  • @muhammadzahid2136
    @muhammadzahid2136 7 лет назад

    I am going to sleeping.........

  • @jonatanjonatan9048
    @jonatanjonatan9048 8 лет назад

    "#twitter"> "#facebook "

  • @aleksandertrocenko3741
    @aleksandertrocenko3741 Год назад

    you're an awsome guy

  • @anujkumarjha4169
    @anujkumarjha4169 3 месяца назад

    Thanks bro

  • @sprigs953
    @sprigs953 2 года назад

    I did the fraction part differently but this a good video. This video better explained this concept in 10 minutes than my professor did for an hour in a half.

  • @unique7648
    @unique7648 5 лет назад

    really cool video ! although you might wanna decrease the amount of "cheerness" it gets us very amped ! LOL thanx bro !

  • @Xaoja
    @Xaoja 6 лет назад

    Thanks bro this is a godsend, i was going through my lecture notes and I have no idea how they can make this seem so confusin, when its super simple.

  • @negasatv4300
    @negasatv4300 6 лет назад

    thanks broo♥

  • @malabbism
    @malabbism 2 года назад

    This is better than the other tutorials cause it explains that u need to add 0's to the end when the result is less than 32 bits. I was looking for an answer. Ty!

  • @pistol625
    @pistol625 4 года назад

    THANK YOU

  • @samuelgosselin5150
    @samuelgosselin5150 7 лет назад

    thanks man

  • @rohitpatel4778
    @rohitpatel4778 8 лет назад

    Pls Help How to convert 0.125 into IEEE 32 Bit

    • @Amonfobious
      @Amonfobious 8 лет назад +1

      1. Turn 0.125 into binary
      0.125 = 0.001
      2. Shift the decimal point to get the 1.ff format in this case to the right
      0.001 --> 1.00
      Your p is now equal to the number of shifts you made but since you went to the right instead of left the p will be negative in this case p=-3
      3. exp = 127 + (-3) = 124
      Turn 124 into binary which is 1111100.
      When you put that number in the 8-bit register reserved for the exponent you get 01111100.
      4. Put everything together and you have
      0 01111100 00000000000000000000000

  • @krist3nnxo
    @krist3nnxo 8 лет назад

    Thanks!