Let's say I have a function $f$ and furthermore let there also be a recursion formula for $f$.
So I can evaluate $f(x)$ directly and I can evaluate $f(x)$ using the recursion formula.
Now, in the recursion formula when $x$ is close to $0$ we substract two nearly equal numbers (in my specific example), so we get loss of significance.
The task is: Analyze the round-off errors for small $x$ in double-arithmetic.
What are the round-off errors? Is it the absolute difference of $f(x)$ evaluated directly and $f(x)$ evaluated using the recursion?
I would do this using a computer algebra system. Does double arithmetic simply mean that I input my $x$ as double?
Edit: $$ f_j(x)=\frac{1}{(j-1)!}\int_{0}^{1}e^{(1-t)x}t^{j-1}dt , \ \ \ j \ge 1 $$
$$f_0(x)=e^x$$
recursion: \begin{equation} f_j(x)=\frac{f_{j-1}(x)-f_{j-1}(0)}{x}, \ \ \ j \ge 1, \ \ \ x \neq 0. \end{equation}
For example, $j=3$:
$f_3(x)=\frac{f_2(x)}{x}-\frac{f_2(0)}{x}=\frac{f_1(x)}{x^2}-\frac{f_1(0)}{x^2}-\frac{f_2(0)}{x}=\frac{f_0(x)}{x^3}-\frac{f_0(0)}{x^3}-\frac{f_1(0)}{x^2}-\frac{f_2(0)}{x}$
In general, we have $$f_j(x)=\frac{f_0(x)}{x^j}-\sum_{i=0}^{j-1}\frac{f_i(0)}{x^{j-i}}$$ I want to implement:

