php / 8.1.5 / function.cosh.html /

cosh

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

coshHyperbolic cosine

Description

cosh(float $num): float

Returns the hyperbolic cosine of num, defined as (exp(arg) + exp(-arg))/2.

Parameters

num

The argument to process

Return Values

The hyperbolic cosine of num

See Also

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.cosh.php