c/numeric/math/cosh

@1-3@ Computes the hyperbolic cosine of. @4@ Type-generic macro: If the argument has type, is called. Otherwise, if the argument has integer type or the type, is called. Otherwise, is called. If the argument is complex, then the macro invokes the corresponding complex function.

Return value
If no errors occur, the hyperbolic cosine of ($cosh(arg)$, or $$) is returned.

If a range error due to overflow occurs, huge_val,, or is returned.

Error handling
Errors are reported as specified in.

If the implementation supports IEEE floating-point arithmetic (IEC 60559),
 * if the argument is ±0, 1 is returned
 * If the argument is ±∞, +∞ is returned
 * if the argument is NaN, NaN is returned