Rajesh v - 10 months ago 75

SQL Question

I need to implement Tanh calculation on my procedure. I tried to find formula, but natively and not available on any forums. Kindly help me on this

Answer

Very long time since I did any maths like this, but I believe

```
Tanh(x) = (EXP(x) - EXP(-x)) / (EXP(x) + EXP(-x))
```

Source (Stackoverflow)