www.delorie.com/djgpp/doc/libc/libc_114.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

cosh

Syntax

 
#include <math.h>

double cosh(double x);

Description

This function computes the hyperbolic cosine 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/ISO C C89; C99
POSIX 1003.2-1992; 1003.1-2001


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2004   by DJ Delorie     Updated Apr 2004