Skip to content
Chung Leong edited this page Jan 10, 2022 · 4 revisions

cosh - Hyperbolic cosine

float cosh ( float $x )

cosh() returns the hyperbolic cosine of x, defined as (exp(x) + exp(-x))/2.

Parameters:

x - The number to process. It can be a scalar or an array.

Return Value:

The hyperbolic cosine of x. If x is an array, then the return value will also be an array.

Version

1.0 and above.

Clone this wiki locally