MGMT 1030 Chapter 19: MGMT 1030 Chapter 19 Notes
MGMT 1030 Chapter 19 Notes – Summary
Introduction
• Higher-precision formats require more storage and usually must use multiple-word
floating point.
• Packed decimal calculation algorithms that are much slower than the lower-precision
formats.
• Recall that decimal fractions may convert into irrational binary fractions.
• For those languages that provide the capability, the use of packed decimals represents
an attractive alternative to floating point for those business applications where exact
calculations involving mixed decimal numbers are required.
• Computers store all data as binary numbers.
• There are a number of different ways to format these binary numbers to represent the
various types of numbers required for computer processing.
• Conceptually, the simplest formats are sign-and-magnitude and binary-coded decimal.
• Although BCD is sometimes used for business programming
• Both of these formatting methods have shortcomings in terms of number manipulation
and calculation.
• Unsigned integers can of course be directly represented by their binary equivalents.
• Complementary arithmetic is usually the method of choice for signed integers.
• Nie’s deial opleet, ad its iay euivalet 1’s opleet, split the ue
range in two, using the upper half of the range to represent negative numbers.
• Positive numbers represent themselves.
• These representations are convenient and especially simple to use
• Since the complement is found by subtracting the number from a row of the largest
digits in the base.
• Binary complements may be found by simply inverting the 0s and 1s in the number.
• Calculations are a bit more difficult due to the existence of both positive and negative
values for zero.
find more resources at oneclass.com
find more resources at oneclass.com