The value of realmax is the largest number that can be represented on a computer that adheres to the ANSI/IEEE standard for representing floating-point numbers.
Anything larger results in an overflow, which in MATLAB is represented by Inf. Using a computer that adheres to the ANSI/IEEE standard make the following computations and answer the accompanying questions:
(a) Compute realmax + 1. Note that no overflow occurs. Explain this apparent contradiction.
(b) Compute realmax + 1.0e291 and realmax + 1.0e292. Explain the results.