Math::Tanh

Math::Tanh(x): float

Calculates hyperbolic tangent of x.

Table 1. Parameters

x

number

Angle in radians

Return

Result of hyperbolic tangent for this angle

print(Math::Tanh(0.5)); // Will print "0.462117"