]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/ctanh.3
All pages: Replace the 4th argument to .TH by "Linux man-pages (unreleased)"
[thirdparty/man-pages.git] / man3 / ctanh.3
index ddb236b0d514c9850efd39d66db56c42394fd871..d154aa94dd11ec037521a8166c4f3cd202333791 100644 (file)
@@ -1,28 +1,59 @@
 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
-.\" Distributed under GPL
 .\"
-.TH CTANH 3 2002-07-28 "" "complex math routines"
+.\" SPDX-License-Identifier: GPL-1.0-or-later
+.\"
+.TH CTANH 3 2021-03-22 "Linux man-pages (unreleased)" "Linux Programmer's Manual"
 .SH NAME
 ctanh, ctanhf, ctanhl \- complex hyperbolic tangent
+.SH LIBRARY
+Math library
+.RI ( libm ", " \-lm )
 .SH SYNOPSIS
+.nf
 .B #include <complex.h>
-.sp
-.BI "double complex ctanh(double complex " z ");"
-.br
+.PP
+.BI "double complex ctanh(double complex " z );
 .BI "float complex ctanhf(float complex " z );
-.br
-.BI "long double complex ctanhl(long double complex " z ");"
-.sp
-Link with \-lm.
+.BI "long double complex ctanhl(long double complex " z );
+.fi
 .SH DESCRIPTION
-The complex hyperbolic tangent function ctanh(z) is defined
-mathematically as sinh(z) / cosh(z).
-.\" FIXME should the above be
-.\" mathematically as csinh(z) / ccosh(z).
-.SH "CONFORMING TO"
-C99
-.SH "SEE ALSO"
+These functions calculate the complex hyperbolic tangent of
+.IR z .
+.PP
+The complex hyperbolic tangent function is defined
+mathematically as:
+.PP
+.in +4n
+.EX
+ctanh(z) = csinh(z) / ccosh(z)
+.EE
+.in
+.SH VERSIONS
+These functions first appeared in glibc in version 2.1.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.ad l
+.nh
+.TS
+allbox;
+lbx lb lb
+l l l.
+Interface      Attribute       Value
+T{
+.BR ctanh (),
+.BR ctanhf (),
+.BR ctanhl ()
+T}     Thread safety   MT-Safe
+.TE
+.hy
+.ad
+.sp 1
+.SH STANDARDS
+C99, POSIX.1-2001, POSIX.1-2008.
+.SH SEE ALSO
 .BR cabs (3),
+.BR catanh (3),
 .BR ccosh (3),
 .BR csinh (3),
-.BR complex (5)
+.BR complex (7)