ECE314sp06_HW4_solutions - ECE/CS 314 Spring 2006 Homework...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
1 ECE/CS 314 Spring 2006 Homework 4 Solutions Problem 1. (16 points) Convert the following decimal numbers to IEEE 754 floating point format. (a) Convert 6.875 x 10 2 to single precision floating point format. 6.875 x 10 2 = 687.5 = 1010101111.1 = 1.0101011111 x 2 9 (b) Convert 6.875 x 10 2 to double precision floating point format. 6.875 x 10 2 = 687.5 = 1010101111.1 = 1.0101011111 x 2 9 (c) Convert 7.421875 x 10 -2 to single precision floating point format. 7.421875 x 10 -2 = .07421875 = 0.00010011 = 1.0011 x 2 -4 (d) Convert 7.421875 x 10 -2 to double precision floating point format. 7.421875 x 10 -2 = .07421875 = 0.00010011 = 1.0011 x 2 -4 Problem 2. (24 points) Complete the following table to show how to round each number using the specified rounding rule. The first bit in parenthesis is the guard bit and the second bit in parenthesis is the round bit. The rounded number should have a 4-bit significand. Number
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

ECE314sp06_HW4_solutions - ECE/CS 314 Spring 2006 Homework...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online