60 2 1 1 2 150 2 1 1 2 250 2 2 2 3 150 2 1

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

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: encodes the exponent . In the single-precision floating-point format (a float in C), fields s, exp, and frac are 1, , and Ò ¾¿ bits each, yielding a 32-bit representation. In the double-precision floating-point format (a double in C), fields s, exp, and frac are 1, ½½, and Ò ¾ bits each, yielding a 64-bit representation. The value encoded by a given bit representation can be divided into three different cases, depending on the value of exp. 70 Normalized Values CHAPTER 2. REPRESENTING AND MANIPULATING INFORMATION This is the most common case. They occur when the bit pattern of exp is neither all 0s (numeric value 0) or all 1s (numeric value 255 for single precision, 2047 for double). In this case, the exponent field is interpreted as representing a signed integer in biased form. That is, the exponent value is × where is the unsigned number having bit representation ½ ¡ ¡ ¡ ½ ¼ , and × is a bias value equal to ½ ½ (127 for single precision and 1023 for double). This yields exponent ranges from ½¾ to ·½¾ ¾ for single p...
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