324_Book

# This property of real and integer addition is not

This preview shows page 1. Sign up to view the full content.

This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ed using an integer-sorting routine. A minor difﬁculty is in dealing with negative numbers, since they have a leading one, and they occur in descending order, but this can be overcome without requiring ﬂoating-point operations to perform comparisons (see Problem 2.47). Practice Problem 2.25: Consider a 5-bit ﬂoating-point representation based on the IEEE ﬂoating-point format, with one sign bit, ¾), and two fraction bits (Ò ¾). The exponent bias is ¾¾ ½ ½ ½. two exponent bits ( The table below enumerates the entire nonnegative range for this 5-bit ﬂoating-point representation. Fill in the blank table entries using the following directions: : The value represented by considering the exponent ﬁeld to be an unsigned integer. : The value of the exponent after biasing. : The value of the fraction. Å Î : The value of the signiﬁcand. : The numeric value represented. Express the values of , Å and Î as fractions of the form Ü . You need not ﬁll in entries marked “—”. Bits 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 00 00 00 01 01 01 01 10 10 10 10 11 11 11 11 00 01 10 11 00 01 10 11 00 01 10 11 0...
View Full Document

## This note was uploaded on 09/02/2010 for the course ELECTRICAL 360 taught by Professor Schultz during the Spring '10 term at BYU.

Ask a homework question - tutors are online