PHP Conference Nagoya 2025

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($num) + exp(-$num))/2.

Parameters

num

The argument to process

Return Values

The hyperbolic cosine of num

See Also

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top