cosh(), coshf()

hyperbolic cosine function 

Function


SYNOPSIS

#include <math.h>

double cosh(double x)

float coshf(float x)


DESCRIPTION

The cosh() and coshf() functions compute the hyperbolic cosine of x.

To check for error situations, set errno to 0 before calling cosh(). If errno is non-zero on return, or the return value is NaN, an error has occurred.

The coshf() function is a single-precision version of cosh().


PARAMETERS

x 

Is the value to derive the hyperbolic cosine from.


RETURN VALUES

The cosh() function returns the hyperbolic cosine value.

If x is NaN, NaN is returned.

If the return value would overflow, then:


CONFORMANCE

cosh(): ANSI/ISO 9899-1990

coshf(): PTC MKS Toolkit UNIX APIs extension


MULTITHREAD SAFETY LEVEL

MT-Safe.


PORTING ISSUES

None.


AVAILABILITY

PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
acos(), asin(), atan(), atan2(), cos(), math(), matherr(), sin(), sinh(), tan(), tanh()


PTC MKS Toolkit 10.4 Documentation Build 39.