Write a program to test the programming suggestion concerning the round off error in the computation of t ← t+h versus t ← t0 + ih. For example, use h = 1/10 and compute t ← t +h in double precision for the correct single precision value of t ; print the absolute values of the differences between this calculation and the values of the two procedures. What is the result of the test when h is a machine number, such as h = 1/128 , on a binary computer (with more than seven bits per word)?
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.