This preview shows page 1. Sign up to view the full content.
Unformatted text preview: encodes the exponent . In the single-precision ﬂoating-point format (a float in C), ﬁelds s, exp, and frac are 1, , and Ò ¾¿ bits each, yielding a 32-bit representation. In the double-precision ﬂoating-point format (a double in C), ﬁelds 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 ﬁeld 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.
- Spring '10
- The American