(PHP 4 >= 4.1.0, PHP 5, PHP 7)
tanh — Hyperbolic tangent
tanh ( float $arg ) : float
Returns the hyperbolic tangent of arg
, defined as sinh(arg)/cosh(arg)
.
arg
The argument to process
The hyperbolic tangent of arg
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.tanh.php