Home > PHP > Function > Math > cosh()

cosh()

cosh - Hyperbolic cosine

Syntax

float cosh (float $arg)

Arguments

  • arg - The argument to process

Description

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

Version

PHP 4.1.0, 5

Return value

The hyperbolic cosine of arg