Floating-Point Examples (Cont.)

Question: What is the decimal value of this double-precision floating-point number?

1 0 1 1 1 1 1 1 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Answer:            

Example III
Show the IEEE 754 binary representation of the number -6.8125 in single and double precision.  





      “As a well spent day brings happy sleep, so life well used brings happy death.”    
      ― Leonardo da Vinci