Forum und email

tanh

(PHP 4 >= 4.0.7, PHP 5)

tanh — Hyperbolic tangent

說明

float tanh ( float $arg )

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

參數

arg

The argument to process

Return值

The hyperbolic tangent of arg