tanh

PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8
tanh - Hyperbolic tangent

tanh( float$num ): float

Returns the hyperbolic tangent of num, defined as sinh(num)/cosh(num).

Parameters

num

The argument to process

Return Values

The hyperbolic tangent of num

Related Functions

Example of tanh

Show all examples for tanh

PHP Version:


Function tanh:

Mathematical Functions Functions

Most used PHP functions