cosh - chung-leong/qb GitHub Wiki

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.