Question

In: Computer Science

Convert -10.5 single-precision floating point binary format. Please show every single detail for upvote. Please do...

Convert -10.5 single-precision floating point binary format.

Please show every single detail for upvote.

Please do not answer otherwise.

Solutions

Expert Solution

Converting 10.5 to binary
   Convert decimal part first, then the fractional part
   > First convert 10 to binary
   Divide 10 successively by 2 until the quotient is 0
      > 10/2 = 5, remainder is 0
      > 5/2 = 2, remainder is 1
      > 2/2 = 1, remainder is 0
      > 1/2 = 0, remainder is 1
   Read remainders from the bottom to top as 1010
   So, 10 of decimal is 1010 in binary
   > Now, Convert 0.5 to binary
      > Multiply 0.5 with 2.     Since 1.0 is >= 1. then add 1 to result
      > This is equal to 1, so, stop calculating
   0.5 of decimal is .1 in binary
   so, 10.5 in binary is 1010.1
-10.5 in simple binary => 1010.1
so, -10.5 in normal binary is 1010.1 => 1.0101 * 2^3

single precision:
--------------------
sign bit is 1(-ve)
exp bits are (127+3=130) => 10000010
   Divide 130 successively by 2 until the quotient is 0
      > 130/2 = 65, remainder is 0
      > 65/2 = 32, remainder is 1
      > 32/2 = 16, remainder is 0
      > 16/2 = 8, remainder is 0
      > 8/2 = 4, remainder is 0
      > 4/2 = 2, remainder is 0
      > 2/2 = 1, remainder is 0
      > 1/2 = 0, remainder is 1
   Read remainders from the bottom to top as 10000010
   So, 130 of decimal is 10000010 in binary
frac bits are 01010000000000000000000

so, -10.5 in single-precision format is 1 10000010 01010000000000000000000
in hexadecimal it is 0xC1280000

Related Solutions

Convert 2.115 single-precision floating point binary format. Please show every single detail for upvote. Please do...
Convert 2.115 single-precision floating point binary format. Please show every single detail for upvote. Please do not answer otherwise.
Convert 0xCD001234 from IEEE-754 hexadecimal to single-precision floating point format. Please show every single detail for...
Convert 0xCD001234 from IEEE-754 hexadecimal to single-precision floating point format. Please show every single detail for upvote. Please do not answer otherwise.
Convert 0xCD001234 from IEEE-754 hexadecimal to single-precision floating point format. Please show every single detail for...
Convert 0xCD001234 from IEEE-754 hexadecimal to single-precision floating point format. Please show every single detail for upvote. Please do not answer otherwise.
Please convert 2.75 into IEEE-754 format. Provide every single detail for upvote
Please convert 2.75 into IEEE-754 format. Provide every single detail for upvote
Convert 1101.11011101 x 223 to IEEE Standard 754 for single-precision floating-point binary format. Convert the IEEE...
Convert 1101.11011101 x 223 to IEEE Standard 754 for single-precision floating-point binary format. Convert the IEEE Standard 754 number 11001010100011010101000000000000 to its decimal equivalent.
A) Convert 1101.11011101 x 223 to IEEE Standard 754 for single precision floating-point binary format. B)...
A) Convert 1101.11011101 x 223 to IEEE Standard 754 for single precision floating-point binary format. B) Convert the IEEE Standard 754 number 11001010100011010101000000000000 to its decimal equivalent.  
Q1.Convert C46C000016 into a 32-bit single-precision IEEE floating-point binary number.
Q1.Convert C46C000016 into a 32-bit single-precision IEEE floating-point binary number.
Convert 103.375 into double precision floating format show all steps and explanations
Convert 103.375 into double precision floating format show all steps and explanations
Convert -99.999 into double precision floating format show all steps and explanations
Convert -99.999 into double precision floating format show all steps and explanations
Convert 103.375 into double precision floating format show all steps and explanations
Convert 103.375 into double precision floating format show all steps and explanations
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT