]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man3/ctan.3
ee2c5e5ee0840b8a5b6f3b997af82abcc224ab2f
[thirdparty/man-pages.git] / man3 / ctan.3
1 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2 .\"
3 .\" SPDX-License-Identifier: GPL-1.0-or-later
4 .\"
5 .TH CTAN 3 2022-09-09 "Linux man-pages (unreleased)"
6 .SH NAME
7 ctan, ctanf, ctanl \- complex tangent function
8 .SH LIBRARY
9 Math library
10 .RI ( libm ", " \-lm )
11 .SH SYNOPSIS
12 .nf
13 .B #include <complex.h>
14 .PP
15 .BI "double complex ctan(double complex " z );
16 .BI "float complex ctanf(float complex " z );
17 .BI "long double complex ctanl(long double complex " z );
18 .fi
19 .SH DESCRIPTION
20 These functions calculate the complex tangent of
21 .IR z .
22 .PP
23 The complex tangent function is defined as:
24 .PP
25 .in +4n
26 .EX
27 ctan(z) = csin(z) / ccos(z)
28 .EE
29 .in
30 .SH VERSIONS
31 These functions first appeared in glibc in version 2.1.
32 .SH ATTRIBUTES
33 For an explanation of the terms used in this section, see
34 .BR attributes (7).
35 .ad l
36 .nh
37 .TS
38 allbox;
39 lbx lb lb
40 l l l.
41 Interface Attribute Value
42 T{
43 .BR ctan (),
44 .BR ctanf (),
45 .BR ctanl ()
46 T} Thread safety MT-Safe
47 .TE
48 .hy
49 .ad
50 .sp 1
51 .SH STANDARDS
52 C99, POSIX.1-2001, POSIX.1-2008.
53 .SH SEE ALSO
54 .BR cabs (3),
55 .BR catan (3),
56 .BR ccos (3),
57 .BR csin (3),
58 .BR complex (7)