Question: Based on your answers to 3.13.1 and 3.13.2, does (A + B) + C = A + (B + C)? Operations performed on fixed-point integers
Based on your answers to 3.13.1 and 3.13.2, does (A + B) + C = A + (B + C)?
Operations performed on fixed-point integers behave the way one expects—the commutative, associative, and distributive laws all hold. This is not always the case when working with floating point numbers, however. Let’s first look at the associative law. The following table shows sets of decimal numbers.
a. b. A 3.984375 x 10-1 3.96875 X 10 3.4375 x 10-1 8.46875 x 10 1.771 x 10 2.1921875 x 10
Step by Step Solution
3.42 Rating (155 Votes )
There are 3 Steps involved in it
To determine if the associative law holds for the given decimal numbers well check if ... View full answer
Get step-by-step solutions from verified subject matter experts
