math.tanh (x)

Returns the hyperbolic tangent of x.