ITEC 1000 Lecture Notes - Decimal Mark, Sign Bit, Double-Precision Floating-Point Format

104 views3 pages

Document Summary

Itec 1000 winter 2010 peter khaiter. Lecture 5 floating point numbers feb 1. Used in computer when the number: is outside the integer range of the computer (too large or too small, contains a decimal fraction. Assume decimal point located at the beginning of mantissa. Exponent stored in excess-n notation: complementary notation: pick middle value as offset where n is the middle value: 099 e. g. , excess-50. First digit represents the sign of mantissa: 0 is used as a + sign, 5 is used as a - sign (arbitrarily) Two next digits represent exponent in excess-50. Five last digits represent mantissa: fixed decimal point located at the beginning. Shift numbers left by increasing the exponent until leading zeros eliminated. Addition and subtraction: exponent and mantissa treated separately, exponents of numbers must agree. Least significant digits may be lost: mantissa overflow requires exponent again shifted right.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents