I'm trying to figure out how to avoid catastrophic cancellation for the following expression $$\sqrt{1+x} - 1$$ for $x$ being a number very close to $0$.
Of course, the answer would come to $0$ unless the expression is changed around.
Any help is appreciated! Thanks!