##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::cosh

From cppreference.com
< cpp‎ | numeric‎ | math

Defined in header `<cmath>` |  |
float cosh( float arg ); |  |
double cosh( double arg ); |  |
long double cosh( long double arg ); |  |
double cosh( Integral arg ); |  | (since C++11)

Computes hyperbolic cosine of `arg`

### [edit] Parameters

arg | - | value of a floating-point or Integral type

### [edit] Return value

Hyperbolic cosine of `arg`.

### [edit] See also

sinh | computes hyperbolic sine (sh(x)) (function) [edit]
tanh | hyperbolic tangent (function) [edit]
acosh (C++11) | area hyperbolic cosine (function) [edit]
cosh(std::complex) | computes hyperbolic cosine of a complex number (ch(z)) (function template) [edit]
cosh(std::valarray) | applies the function std::cosh to each element of valarray (function template) [edit]
C documentation for cosh

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/numeric/math/cosh&oldid=67141"