OSDN Git Service

LDP: Update original to LDP v3.68
[linuxjm/LDP_man-pages.git] / original / man3 / cosh.3
index b9e657d..5fe7d02 100644 (file)
@@ -2,6 +2,7 @@
 .\" 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.
@@ -21,6 +22,7 @@
 .\"
 .\" 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
@@ -31,7 +33,7 @@
 .\" 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
@@ -55,19 +57,26 @@ Feature Test Macro Requirements for glibc (see
 .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 .
 
@@ -107,7 +116,7 @@ is set to
 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
@@ -118,10 +127,19 @@ In glibc version 2.3.4 and earlier,
 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/.