COMPUTER SCIENCE Data Representation and Machine Concepts Section 1.7 Instructor: Lin Chen Sept 2013
1.7 Storing Fractions 1 Data Storage Floating-Point Notation Truncation Errors Pearson Custom: Computer Science, Data Representation and Machine Concepts
Floating-Point Notation 1.6 Storing Fractions Use 8 bits to represent the float number Sign bit 0, nonnegative 1, negative Exponent Mantissa Excess Notation
Floating-Point Notation 1.6 Storing Fractions Convert floating-point notation to decimal floating number
Floating-Point Notation 1.6 Storing Fractions Questions: Convert 8 bits floating-point notation to decimal floating number
Floating-Point Notation 1.6 Storing Fractions Convert decimal floating number to binary floating number with 8 bit floating-point notation to , shift 1 101
Floating-Point Notation 1.6 Storing Fractions Convert decimal floating number to binary floating number with 8 bit floating-point notation to , shift
Floating-Point Notation 1.6 Storing Fractions Normalized Form Starting with the leftmost
Truncation Errors 1.6 Storing Fractions Convert to floating-point notation
Truncation Errors 1.6 Storing Fractions Calculate