CS301 – Fall 2002
Prof. Hartman
Homework #5
Due Friday, October 25th
by 5:00 pm
 
 - Complete
     the following table:
 
 
  | 
   Fractional form 
   | 
  
   Binary 
   | 
  
   Decimal 
   | 
 
 
  | 
   5/6 
   | 
  
     
   | 
  
     
   | 
 
 
  | 
     
   | 
  
   1010.010 
   | 
  
     
   | 
 
 
  | 
     
   | 
  
     
   | 
  
   2.2 
   | 
 
 
 - Convert
     0.6 to IEEE single precision format.
 
 - Convert
     BEEF0000h from IEEE single precision floating point format to a decimal
     number.
 
 - The
     number 4,000,000 can be represented exactly in IEEE single precision
     format. What is the next largest floating point value that can be
     represented exactly in IEEE single precision format? Give both its decimal
     value and it’s IEEE representation.
 
 - What
     are the largest and smallest values IEEE single precision format can
     represent? (Hint – there is really only one question here!) You must show
     the IEEE format for the number, and write the base 2 scientific notation
     for the number, but you don’t need to figure out its decimal value.