Go to the first, previous, next, last section, table of contents.


cosh

Syntax

#include <math.h>

double cosh(double x);

Description

This function computes the hyperbolic sine of x.

Return Value

The hyperbolic cosine of x. If the value of x is a NaN, the return value is NaN and errno is set to EDOM. If the value of x is so large that the result would overflow a double, the return value is Inf and errno is set to ERANGE. If x is either a positive or a negative infinity, the result is +Inf, and errno is not changed.

Portability

ANSI, POSIX


Go to the first, previous, next, last section, table of contents.