- Thread starter
- #1

- Apr 13, 2013

- 3,836

Suppose the base $\beta =10$ ,the precision $t=3$, $-L=U=10$ and $$A=(317+0.3)-(171.499+145.501)$$

I have to find the relative error for $A$.

We don't make rounding.For example,if we have the value $345.924$ it is equal to $0.345924*10^3$ and the corresponding floating number is $0.345*10^3$.

I found that it is equal to

$$\frac{||A-fl(A)||}{||A||}=\frac{7}{5}=2.33$$

Could you tell me if it is right?