Decimal to IEEE 754 Standard Binary Conversion

In this video I demonstrate how to convert -5.75 (base 10) to IEEE 754 binary, in 32-bit/single precision.

Пікірлер: 148

  • @AFthawk
    @AFthawk7 жыл бұрын

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

  • @Lvxurie

    @Lvxurie

    7 жыл бұрын

    actually cracked up so hard at the intro

  • @MultiCodFTW

    @MultiCodFTW

    6 жыл бұрын

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

  • @MrKushinator420
    @MrKushinator4206 жыл бұрын

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

  • @SkaterProSeven

    @SkaterProSeven

    5 жыл бұрын

    they get paid per course so i can see why

  • @orrevuar
    @orrevuar9 жыл бұрын

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

  • @binexec
    @binexec9 жыл бұрын

    You sound like a really cool guy

  • @robertcharmers3264
    @robertcharmers32647 жыл бұрын

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

  • @DanniV86
    @DanniV869 жыл бұрын

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

  • @snarf45
    @snarf45 Жыл бұрын

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

  • @nixondutta8192
    @nixondutta81928 жыл бұрын

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

  • @rinoboger7329
    @rinoboger73294 жыл бұрын

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

  • @Xaoja
    @Xaoja5 жыл бұрын

    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.

  • @malabbism
    @malabbism2 жыл бұрын

    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!

  • @jibxjib
    @jibxjib7 жыл бұрын

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

  • @andeluuledna
    @andeluuledna7 жыл бұрын

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

  • @sprigs953
    @sprigs9532 жыл бұрын

    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.

  • @5kgxistiouvockzit7r94
    @5kgxistiouvockzit7r945 жыл бұрын

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

  • @michaeltheisen
    @michaeltheisen2 жыл бұрын

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

  • @lukecusack6517
    @lukecusack65178 жыл бұрын

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

  • @yatharthkher317
    @yatharthkher3176 жыл бұрын

    I like your way of teaching , its super cool

  • @NeraInLove
    @NeraInLove6 жыл бұрын

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

  • @staticx2013
    @staticx20136 ай бұрын

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

  • @Dsmartcuban
    @Dsmartcuban6 жыл бұрын

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

  • @tianyixue7548
    @tianyixue7548 Жыл бұрын

    this made it so much easier thank you

  • @alcatrazclad
    @alcatrazclad9 жыл бұрын

    A lot more clear than my professor. Thanks!

  • @omaremara6971
    @omaremara69719 жыл бұрын

    Amazing, helped a lot with my exams

  • @christiansanchez1660
    @christiansanchez16607 жыл бұрын

    You are saving my life! Thank you!

  • @LoveisHell85
    @LoveisHell855 жыл бұрын

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

  • @oskhar1099
    @oskhar10996 жыл бұрын

    Very good explanation. Thanks!

  • @shiroime9547
    @shiroime95477 жыл бұрын

    I finally understood it... Thanks you

  • @AndySamuuMSP
    @AndySamuuMSP9 ай бұрын

    straight to the point, thank you 8 years later

  • @AnujSingh-bt5tq
    @AnujSingh-bt5tq9 жыл бұрын

    thanks man...this was really great

  • @Pulkit__7
    @Pulkit__79 жыл бұрын

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

  • @Calm_Energy
    @Calm_Energy5 жыл бұрын

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

  • @samalrai3980
    @samalrai39809 жыл бұрын

    Damn Man!... Cool Teaching ...

  • @khaledsakkaamini4743
    @khaledsakkaamini47438 жыл бұрын

    thanks you, the method is very very easy to understand

  • @honeybowl1
    @honeybowl18 жыл бұрын

    was really helpful

  • @youngpro2034
    @youngpro20346 жыл бұрын

    Really thanks it's very helpful for my homework.

  • @pakistanibutt7243
    @pakistanibutt72439 жыл бұрын

    really great work by you :)

  • @yhonatangilony207
    @yhonatangilony2077 жыл бұрын

    Thank u so much you Helped me a lot

  • @Burak-tv9he
    @Burak-tv9he5 жыл бұрын

    Best tutorial ever!

  • @lordasiedu9270
    @lordasiedu92703 жыл бұрын

    WOOWWW u really explained it well

  • @lbdiva
    @lbdiva6 жыл бұрын

    The whole 1.c class is thankfull

  • @kingberlicapellan2626
    @kingberlicapellan26266 жыл бұрын

    You're so awesome, thanks.

  • @mitchellvandoorn2625
    @mitchellvandoorn26255 жыл бұрын

    The introduction of this video really encourages you to continue watching

  • @luminousdragon

    @luminousdragon

    4 жыл бұрын

    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

    9 ай бұрын

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

  • @mertgorates3330
    @mertgorates33309 жыл бұрын

    thank you great video

  • @d.i.m.i
    @d.i.m.i8 жыл бұрын

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

  • @aleksandertrocenko3741
    @aleksandertrocenko3741 Жыл бұрын

    you're an awsome guy

  • @binarybreak8387
    @binarybreak83879 жыл бұрын

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

  • @capocannoniere9
    @capocannoniere97 жыл бұрын

    thanks from Argentina !

  • @sanjitshaw4061
    @sanjitshaw40618 жыл бұрын

    awesome video....thanks

  • @hotmandead1
    @hotmandead18 жыл бұрын

    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

  • @annechamalka5598
    @annechamalka55984 жыл бұрын

    Thank you very much .ment a lot♥️

  • @mahdi3fatihi
    @mahdi3fatihi5 жыл бұрын

    very helpful , thank you

  • @ahamadmuazzam6717
    @ahamadmuazzam67179 жыл бұрын

    thank you very very very much sir i am fully understanded

  • @mosammatyeasmin2026
    @mosammatyeasmin20266 жыл бұрын

    calm and clear !!!

  • @chrisgringon4531
    @chrisgringon45318 жыл бұрын

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

  • @khattab-iv9189
    @khattab-iv91897 жыл бұрын

    Thank you Very helpful

  • @alimeree4299
    @alimeree42998 жыл бұрын

    thanks man you'r the best

  • @siyuanlai8611
    @siyuanlai86117 жыл бұрын

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

  • @035Obsidian
    @035Obsidian9 жыл бұрын

    This is fucking awesome, thank you.

  • @oscarschiesser9432

    @oscarschiesser9432

    9 жыл бұрын

    +Tomas Leitch Pretty sure he just saved our grades haha

  • @heavyraindrops4750
    @heavyraindrops47505 жыл бұрын

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

  • @myspace34james
    @myspace34james8 жыл бұрын

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

  • @hoshie7906
    @hoshie7906 Жыл бұрын

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

  • @thegreenstuff215
    @thegreenstuff2158 жыл бұрын

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

  • @vama89
    @vama899 жыл бұрын

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

  • @BCGJohnny
    @BCGJohnny8 жыл бұрын

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

  • @brunocrnkovic5967
    @brunocrnkovic59678 жыл бұрын

    Very helpful 10/10

  • @marijanfilipovic1014
    @marijanfilipovic10146 жыл бұрын

    The whole 1.c class is thankful

  • @alicheema7859
    @alicheema78597 жыл бұрын

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

  • @kawtheralateeq8264
    @kawtheralateeq82648 жыл бұрын

    Big like for your video

  • @fardayekahmed7878
    @fardayekahmed78788 жыл бұрын

    tnx bro...

  • @Sam-ib6xl
    @Sam-ib6xl7 жыл бұрын

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

  • @edophoenix3831

    @edophoenix3831

    6 жыл бұрын

    Thank you

  • @viwentshonga9395

    @viwentshonga9395

    6 жыл бұрын

    Thanks human

  • @amirbarjakli3383
    @amirbarjakli33836 ай бұрын

    ty for video :)

  • @krishanchanaka2749
    @krishanchanaka27498 жыл бұрын

    Thank u brother

  • @haseebhashimi6707
    @haseebhashimi67077 жыл бұрын

    thanks dude

  • @Sofo7575
    @Sofo75759 жыл бұрын

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

  • @a.n.7338
    @a.n.73387 жыл бұрын

    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????

  • @MarkCosgrave
    @MarkCosgrave8 жыл бұрын

    Thank you!

  • @pistol625
    @pistol6253 жыл бұрын

    THANK YOU

  • @negasatv4300
    @negasatv43005 жыл бұрын

    thanks broo♥

  • @rockoman100
    @rockoman1008 жыл бұрын

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

  • @slavkosster

    @slavkosster

    8 жыл бұрын

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

  • @yahyasaad6426
    @yahyasaad64264 жыл бұрын

    ty very much

  • @samuelgosselin5150
    @samuelgosselin51507 жыл бұрын

    thanks man

  • @tomashruby9349
    @tomashruby93499 жыл бұрын

    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 жыл бұрын

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

  • @BokiScoutMKD

    @BokiScoutMKD

    8 жыл бұрын

    +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.

  • @RAFIKHAN-lg2jy
    @RAFIKHAN-lg2jy4 жыл бұрын

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

  • @krist3nnxo
    @krist3nnxo8 жыл бұрын

    Thanks!

  • @oliverurena9886
    @oliverurena98866 жыл бұрын

    Thanks you!

  • @soraisfinallyhere1305
    @soraisfinallyhere13053 жыл бұрын

    what if you have something like -1.5

  • @anujkumarjha4169
    @anujkumarjha41692 ай бұрын

    Thanks bro

  • @adamoreilly6220
    @adamoreilly62209 жыл бұрын

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

  • @northernstreamer3582
    @northernstreamer35827 жыл бұрын

    I LOVE YOU, THANK YOU, SUBSCRIBING, AHHHH

  • @nicolastorressegura9924
    @nicolastorressegura99246 жыл бұрын

    thank you

  • @teeman9266
    @teeman92667 жыл бұрын

    Excellent example, though a bit complex.

  • @mowa3942
    @mowa39425 жыл бұрын

    His laugh 😂🌟 02:43

  • @Hozensang
    @Hozensang6 жыл бұрын

    Thank for finished my test (* *)=b

  • @sebastijanbarlek6033
    @sebastijanbarlek60337 жыл бұрын

    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

  • @felixmoya716
    @felixmoya7169 жыл бұрын

    I

  • @dhell0venus567
    @dhell0venus5676 жыл бұрын

    Thanks

  • @unique7648
    @unique76485 жыл бұрын

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

  • @nishimwesamuel
    @nishimwesamuel9 жыл бұрын

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

  • @rohitpatel4778
    @rohitpatel47788 жыл бұрын

    Pls Help How to convert 0.125 into IEEE 32 Bit

  • @Amonfobious

    @Amonfobious

    8 жыл бұрын

    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