Question: For each of the following computations in Java, determine whether the result is exact, an overflow, or a roundoff error. a. 2.0 1.1 b.
For each of the following computations in Java, determine whether the result is exact, an overflow, or a roundoff error.
a. 2.0 – 1.1
b. 1.0E6 * 1.0E6
c. 65536 * 65536
d. 1_000_000L * 1_000_000L
Step by Step Solution
3.51 Rating (161 Votes )
There are 3 Steps involved in it
Answer Explanation of Solution a 20112011 The number in the given expression is a float data type Th... View full answer
Get step-by-step solutions from verified subject matter experts
