.\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk
.\" <mtk.manpages@gmail.com>
.\"
+.\" %%%LICENSE_START(VERBATIM)
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
.\"
.\" References consulted:
.\" Linux libc source code
.\" Modified 2002-07-27 by Walter Harms
.\" (walter.harms@informatik.uni-oldenburg.de)
.\"
-.TH COSH 3 2008-08-10 "" "Linux Programmer's Manual"
+.TH COSH 3 2010-09-20 "" "Linux Programmer's Manual"
.SH NAME
cosh, coshf, coshl \- hyperbolic cosine function
.SH SYNOPSIS
.ad l
.BR coshf (),
.BR coshl ():
-_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
+.RS 4
+_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE ||
+_POSIX_C_SOURCE\ >=\ 200112L;
+.br
+or
.I cc\ -std=c99
-.ad b
+.RE
+.ad
.SH DESCRIPTION
The
.BR cosh ()
-function returns the hyperbolic cosine of \fIx\fP, which
+function returns the hyperbolic cosine of
+.IR x ,
+which
is defined mathematically as:
.nf
cosh(x) = (exp(x) + exp(\-x)) / 2
.fi
-.SH "RETURN VALUE"
+.SH RETURN VALUE
On success, these functions return the hyperbolic cosine of
.IR x .
An overflow floating-point exception
.RB ( FE_OVERFLOW )
is raised.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
C99, POSIX.1-2001.
The variant returning
.I double
an overflow floating-point
.RB ( FE_OVERFLOW )
exception is not raised when an overflow occurs.
-.SH "SEE ALSO"
+.SH SEE ALSO
.BR acosh (3),
.BR asinh (3),
.BR atanh (3),
.BR ccos (3),
.BR sinh (3),
.BR tanh (3)
+.SH COLOPHON
+This page is part of release 3.68 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.