This is the documentation for the development version.
There are no official binaries for it; build it from the source code in git.
Download links on these pages work only after the release.
For the current release, see version 7.0.
Math::Tanh
- Math::Tanh(x): float
-
Calculates hyperbolic tangent of x.
x |
number |
Angle in radians |
Return
Result of hyperbolic tangent for this angle
print(Math::Tanh(0.5)); // Will print "0.462117"