coshreturns the value of the hyperbolic cosine, .
For full information please refer to the NAG Library document for s10ac
The argument of the function.
The value of the hyperbolic cosine, .
- (errno )
On entry, .
The function has been called with an argument too large in absolute magnitude. There is a danger of overflow. The result returned is the value of at the nearest valid argument.
coshcalculates an approximate value for the hyperbolic cosine, .
For , the function fails owing to danger of setting overflow in calculating . The result returned for such calls is , i.e., it returns the result for the nearest valid argument.
NIST Digital Library of Mathematical Functions