Calculates the hyperbolic tangent of x.
assert(isIdentical(tanh(0.0), 0.0)); assert(tanh(1.0).approxEqual(sinh(1.0) / cosh(1.0)));
See Implementation
Calculates the hyperbolic tangent of x.