dos_tanh - dalefugier/DOSLib GitHub Wiki
Calculates the hyperbolic tangent of a number.
Syntax
(dos_tanh number)
Parameters
number
The number.
Returns
The hyperbolic tangent, if successful.
nil on error.
Example
Command: (dos_tanh -2)
-0.964028
Command: (dos_tanh 0)
0
Command: (dos_tanh 0.5)
0.462117