在线文档教程
PHP
数学 | Mathematics

tanh

tanh

(PHP 4 >= 4.1.0, PHP 5, PHP 7)

tanh — Hyperbolic tangent

Description

float tanh ( float $arg )

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

Parameters

arg

The argument to process

Return Values

The hyperbolic tangent of arg

See Also

  • tan() - Tangent

  • atanh() - Inverse hyperbolic tangent

  • sinh() - Hyperbolic sine

  • cosh() - Hyperbolic cosine

← tan

Statistics →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/function.tanh.php