MGMT 1030 Chapter Notes - Chapter 2: Decimal Mark
MGMT 1030 Chapter 2 Notes – Summary
Introduction
Floating Point Format
• Knowing the location of the point is, of course, essential.
• In the example that accompanies the rules just given, the location of the decimal point
was not specified.
• Reading the data suggests that the number might be +12345 × 10+3 which, of course, is
ot orret if were still usig the uer fro our origial exaple.
• The actual placement of the decimal point should be 12.345 × 103
• Let us summarize these rules by showing another example, with each component
specifically marked.
• Assue that the uer to e represeted is −0.0000003579
• One possible representation of this number is sign of mantissa location of decimal point
mantissa base exponent sign of exponent –0.35790 × 10–6.
• As was the case with integers, floating point numbers will be stored and manipulated in
the oputer usig a stadard, predefied forat.
• For practical reasons, a multiple of 8 bits is usually selected as the word size.
• This will simplify the manipulation and arithmetic that is performed with these numbers.
• In the case of integers, the entire word is allocated to the magnitude of the integer and
its sign.
• For floating point numbers, the word must be divided
• Part of the space is reserved for the exponent and its sign
• The remainder is allocated to the mantissa and its sign.
• The base of the exponent and the implied location of the binary point are standardized
as part of the format
• Therefore, do not have to be stored at all. You can understand that the format chosen is
somewhat arbitrary
find more resources at oneclass.com
find more resources at oneclass.com