Home > PHP > Function > Math > tanh()

tanh()

tanh - Hyperbolic tangent

Syntax

float tanh (float $arg)

Arguments

  • arg - The argument to process

Description

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

Version

PHP 4.1.0, 5

Return value

The hyperbolic tangent of arg