convert -4972.67 to IEEE-754 single precision and double precision both. Need a lot of explanation. (Atleast 1000...

80.2K

Verified Solution

Question

Programming

convert -4972.67 to IEEE-754 single precision and doubleprecision both.
Need a lot of explanation. (Atleast 1000 words)

Answer & Explanation Solved by verified expert
4.5 Ratings (925 Votes)
a497267Converting 497267 to binary Convert decimal part first then the fractionalpart First convert 4972 to binary Divide 4972 successively by 2 until the quotient is0 49722 2486 remainder is0 24862 1243 remainder is0 12432 621 remainder is1 6212 310 remainder is1 3102 155 remainder is0 1552 77 remainder is1 772 38 remainder is1 382 19 remainder is0 192 9 remainder is 1 92 4 remainder is 1 42 2 remainder is 0 22 1 remainder is 0 12 0 remainder is 1 Read remainders from the bottom to top as1001101101100 So 4972 of decimal is 1001101101100 in binary Now Convert 067000000 to binary Multiply 067000000 with 2 Since 134000000 is 1 then add 1 toresult Multiply 034000000 with 2 Since 068000000 is 1 then add 0 to result Multiply 068000000 with 2 Since 136000000 is 1 then add 1 toresult Multiply 036000000 with 2 Since 072000000 is 1 then add 0 to result Multiply 072000000 with 2 Since 144000000 is 1 then add 1 toresult Multiply 044000000 with 2 Since 088000000 is 1 then add 0 to result Multiply 088000000 with 2 Since 176000000 is 1 then add 1 toresult Multiply 076000000 with 2 Since 152000000 is 1 then add 1 toresult Multiply 052000000 with 2 Since 104000000 is 1 then add 1 toresult Multiply 004000000 with 2 Since 008000000 is 1 then add 0 to result Multiply 008000000 with 2 Since 016000000 is 1 then add 0 to result Multiply 016000000 with 2 Since 032000000 is 1 then add 0 to result Multiply 032000000 with 2 Since 064000000 is 1 then add 0 to result Multiply 064000000 with 2 Since 128000000 is 1 then add 1 toresult Multiply 028000000 with 2 Since 056000000 is 1 then add 0 to result Multiply 056000000 with 2 Since 112000000 is 1 then add 1 toresult Multiply 012000000 with 2 Since 024000001 is 1 then add 0 to result Multiply 024000001 with 2 Since 048000002 is 1 then add 0 to result Multiply 048000002 with 2 Since    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students