Decimal to IEEE 754 Standard Binary Conversion

Sdílet
Vložit
  • čas přidán 28. 08. 2024
  • In this video I demonstrate how to convert -5.75 (base 10) to IEEE 754 binary, in 32-bit/single precision.

Komentáře • 148

  • @AFthawk
    @AFthawk Před 7 lety +133

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

    • @Lvxurie
      @Lvxurie Před 7 lety +10

      actually cracked up so hard at the intro

    • @MultiCodFTW
      @MultiCodFTW Před 6 lety +5

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

  • @MrKushinator420
    @MrKushinator420 Před 6 lety +56

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

  • @orrevuar
    @orrevuar Před 9 lety +6

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

  • @snarf45
    @snarf45 Před rokem +3

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

  • @binexec
    @binexec Před 9 lety +36

    You sound like a really cool guy

  • @rinoboger7329
    @rinoboger7329 Před 4 lety +4

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

  • @Dsmartcuban
    @Dsmartcuban Před 6 lety +1

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

  • @jibxjib
    @jibxjib Před 7 lety +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 !

  • @michaeltheisen
    @michaeltheisen Před 2 lety

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

  • @nixondutta8192
    @nixondutta8192 Před 8 lety +3

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

  • @AndySamuuMSP
    @AndySamuuMSP Před 10 měsíci

    straight to the point, thank you 8 years later

  • @malabbism
    @malabbism Před 2 lety

    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!

  • @sprigs953
    @sprigs953 Před 2 lety

    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.

  • @mitchellvandoorn2625
    @mitchellvandoorn2625 Před 5 lety

    The introduction of this video really encourages you to continue watching

    • @luminousdragon
      @luminousdragon Před 4 lety +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 Před 10 měsíci

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

  • @staticx2013
    @staticx2013 Před 6 měsíci

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

  • @DanniV86
    @DanniV86 Před 9 lety

    This is waaay more clearly explained than it is in the book I have to use. Thank you thank you!

  • @5kgxistiouvockzit7r94
    @5kgxistiouvockzit7r94 Před 5 lety +1

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

  • @Calm_Energy
    @Calm_Energy Před 5 lety

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

  • @tianyixue7548
    @tianyixue7548 Před rokem

    this made it so much easier thank you

  • @alcatrazclad
    @alcatrazclad Před 9 lety +3

    A lot more clear than my professor. Thanks!

  • @Xaoja
    @Xaoja Před 5 lety

    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.

  • @robertcharmers3264
    @robertcharmers3264 Před 7 lety

    Fantastic video. You explained quite a difficult and cumbersome topic incredibly clearly; well done.

  • @035Obsidian
    @035Obsidian Před 9 lety +9

    This is fucking awesome, thank you.

  • @lukecusack6517
    @lukecusack6517 Před 8 lety

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

  • @kingberlicapellan2626
    @kingberlicapellan2626 Před 7 lety

    You're so awesome, thanks.

  • @hoshie7906
    @hoshie7906 Před rokem

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

  • @lbdiva
    @lbdiva Před 6 lety +1

    The whole 1.c class is thankfull

  • @yatharthkher317
    @yatharthkher317 Před 6 lety

    I like your way of teaching , its super cool

  • @pesti6941
    @pesti6941 Před 6 lety +1

    The whole 1.c class is thankful

  • @NeraInLove
    @NeraInLove Před 6 lety

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

  • @omaremara6971
    @omaremara6971 Před 9 lety

    Amazing, helped a lot with my exams

  • @LoveisHell85
    @LoveisHell85 Před 5 lety

    Really clear and educational, but still kinda funny. Thank you so much!

  • @andeluuledna
    @andeluuledna Před 8 lety

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

  • @Sam-ib6xl
    @Sam-ib6xl Před 7 lety +35

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

  • @christiansanchez1660
    @christiansanchez1660 Před 7 lety

    You are saving my life! Thank you!

  • @shiroime9547
    @shiroime9547 Před 8 lety +1

    I finally understood it... Thanks you

  • @lordasiedu9270
    @lordasiedu9270 Před 3 lety

    WOOWWW u really explained it well

  • @Burak-tv9he
    @Burak-tv9he Před 5 lety

    Best tutorial ever!

  • @d.i.m.i
    @d.i.m.i Před 8 lety +3

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

  • @myspace34james
    @myspace34james Před 8 lety +2

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

  • @chrisgringon4531
    @chrisgringon4531 Před 8 lety +1

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

  • @youngpro2034
    @youngpro2034 Před 6 lety

    Really thanks it's very helpful for my homework.

  • @oskhar1099
    @oskhar1099 Před 6 lety

    Very good explanation. Thanks!

  • @capocannoniere9
    @capocannoniere9 Před 7 lety

    thanks from Argentina !

  • @ahamadmuazzam6717
    @ahamadmuazzam6717 Před 9 lety

    thank you very very very much sir i am fully understanded

  • @samalrai3980
    @samalrai3980 Před 9 lety +3

    Damn Man!... Cool Teaching ...

  • @Sofo7575
    @Sofo7575 Před 9 lety

    WOW, this is first time I see video WITHOUT a DISLIKE!
    Congrats

  • @tomashruby9349
    @tomashruby9349 Před 9 lety +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  Před 9 lety

      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 Před 9 lety +2

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

    • @BokiScoutMKD
      @BokiScoutMKD Před 8 lety +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.

  • @mowa3942
    @mowa3942 Před 5 lety +2

    His laugh 😂🌟 02:43

  • @khaledsakkaamini4743
    @khaledsakkaamini4743 Před 8 lety

    thanks you, the method is very very easy to understand

  • @annechamalka5598
    @annechamalka5598 Před 4 lety

    Thank you very much .ment a lot♥️

  • @binarybreak8387
    @binarybreak8387 Před 9 lety

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

  • @aleksandertrocenko3741

    you're an awsome guy

  • @rockoman100
    @rockoman100 Před 8 lety +2

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

    • @slavkosster
      @slavkosster Před 8 lety +5

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

  • @siyuanlai8611
    @siyuanlai8611 Před 7 lety

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

  • @AnujSingh-bt5tq
    @AnujSingh-bt5tq Před 9 lety

    thanks man...this was really great

  • @mertgorates3330
    @mertgorates3330 Před 9 lety

    thank you great video

  • @Pulkit__7
    @Pulkit__7 Před 9 lety

    Thanks Man your laugh made my day or rather night :P
    PS : Studing @ night

  • @nishimwesamuel
    @nishimwesamuel Před 9 lety

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

  • @mosammatyeasmin2026
    @mosammatyeasmin2026 Před 6 lety

    calm and clear !!!

  • @yhonatangilony207
    @yhonatangilony207 Před 7 lety

    Thank u so much
    you Helped me a lot

  • @DJkazinova
    @DJkazinova Před 6 lety

    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.

  • @teeman9266
    @teeman9266 Před 7 lety

    Excellent example, though a bit complex.

  • @sanjitshaw4061
    @sanjitshaw4061 Před 9 lety

    awesome video....thanks

  • @pakistanibutt7243
    @pakistanibutt7243 Před 9 lety

    really great work by you :)

  • @heavyraindrops4750
    @heavyraindrops4750 Před 5 lety

    Do you calculate the bias in the same way if the number is positive that you need to calculate?

  • @hotmandead1
    @hotmandead1 Před 8 lety

    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

  • @alimeree4299
    @alimeree4299 Před 8 lety

    thanks man
    you'r the best

  • @honeybowl1
    @honeybowl1 Před 8 lety +2

    was really helpful

  • @BCGJohnny
    @BCGJohnny Před 8 lety

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

  • @mahdi3fatihi
    @mahdi3fatihi Před 5 lety

    very helpful , thank you

  • @khattab-iv9189
    @khattab-iv9189 Před 7 lety

    Thank you
    Very helpful

  • @thegreenstuff215
    @thegreenstuff215 Před 8 lety

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

  • @kawtheralateeq8264
    @kawtheralateeq8264 Před 8 lety

    Big like for your video

  • @brunocrnkovic5967
    @brunocrnkovic5967 Před 8 lety

    Very helpful
    10/10

  • @adamoreilly6220
    @adamoreilly6220 Před 9 lety

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

  • @unique7648
    @unique7648 Před 5 lety

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

  • @pistol625
    @pistol625 Před 3 lety

    THANK YOU

  • @a.n.7338
    @a.n.7338 Před 7 lety

    sir what if number to be stored in mantissa is 4 bits doea that mean that the rest of the bits will be all zeros????

  • @krishanchanaka2749
    @krishanchanaka2749 Před 8 lety

    Thank u brother

  • @RAFIKHAN-lg2jy
    @RAFIKHAN-lg2jy Před 4 lety

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

  • @amirbarjakli3383
    @amirbarjakli3383 Před 7 měsíci

    ty for video :)

  • @Hozensang
    @Hozensang Před 6 lety

    Thank for finished my test (* *)=b

  • @vama89
    @vama89 Před 9 lety

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

  • @haseebhashimi6707
    @haseebhashimi6707 Před 7 lety

    thanks dude

  • @alicheema7859
    @alicheema7859 Před 7 lety

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

  • @yahyasaad6426
    @yahyasaad6426 Před 4 lety

    ty very much

  • @anujkumarjha4169
    @anujkumarjha4169 Před 2 měsíci

    Thanks bro

  • @krist3nnxo
    @krist3nnxo Před 8 lety

    Thanks!

  • @annanguyen6260
    @annanguyen6260 Před 4 lety +1

    thanks in 2020

  • @fardayekahmed7878
    @fardayekahmed7878 Před 8 lety +2

    tnx bro...

  • @MarkCosgrave
    @MarkCosgrave Před 8 lety

    Thank you!

  • @northernstreamer3582
    @northernstreamer3582 Před 7 lety

    I LOVE YOU, THANK YOU, SUBSCRIBING, AHHHH

  • @soraisfinallyhere1305
    @soraisfinallyhere1305 Před 3 lety

    what if you have something like -1.5

  • @samuelgosselin5150
    @samuelgosselin5150 Před 7 lety

    thanks man

  • @29leej
    @29leej Před 7 lety

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

  • @oliverurena9886
    @oliverurena9886 Před 6 lety

    Thanks you!

  • @dhell0venus567
    @dhell0venus567 Před 6 lety

    Thanks

  • @negasatv4300
    @negasatv4300 Před 5 lety

    thanks broo♥

  • @johnybonny8262
    @johnybonny8262 Před 4 lety

    1 more example should be added for more understanding.