Dimitri Terryn
Aug22-04, 06:12 AM
Hi.
I have an assignment lying around, in which I have to find numerically stable forms of some expressions. A few still elude me, so I was wondering if someone might have a suggestion.
e^{x}-e
This has large rounding errors if x is close to 1
sinh (x) - tanh (x)
Large errors for x close to 0
log(x+\sqrt{x^2+1})
No idea...
I have an assignment lying around, in which I have to find numerically stable forms of some expressions. A few still elude me, so I was wondering if someone might have a suggestion.
e^{x}-e
This has large rounding errors if x is close to 1
sinh (x) - tanh (x)
Large errors for x close to 0
log(x+\sqrt{x^2+1})
No idea...