localedef.1, access.2, ioctl_console.2, ioctl_fslabel.2, openat2.2, write.2, dlsym...
[man-pages.git] / man3 / ctan.3
blob1a8a1b5e393f0171e6da8cc47fe44913b0066a9c
1 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2 .\"
3 .\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
4 .\" Distributed under GPL
5 .\" %%%LICENSE_END
6 .\"
7 .TH CTAN 3 2021-03-22 "" "Linux Programmer's Manual"
8 .SH NAME
9 ctan, ctanf, ctanl \- complex tangent function
10 .SH SYNOPSIS
11 .nf
12 .B #include <complex.h>
13 .PP
14 .BI "double complex ctan(double complex " z ");"
15 .BI "float complex ctanf(float complex " z );
16 .BI "long double complex ctanl(long double complex " z ");"
17 .PP
18 Link with \fI\-lm\fP.
19 .fi
20 .SH DESCRIPTION
21 These functions calculate the complex tangent of
22 .IR z .
23 .PP
24 The complex tangent function is defined as:
25 .PP
26 .nf
27     ctan(z) = csin(z) / ccos(z)
28 .fi
29 .SH VERSIONS
30 These functions first appeared in glibc in version 2.1.
31 .SH ATTRIBUTES
32 For an explanation of the terms used in this section, see
33 .BR attributes (7).
34 .ad l
35 .nh
36 .TS
37 allbox;
38 lbx lb lb
39 l l l.
40 Interface       Attribute       Value
42 .BR ctan (),
43 .BR ctanf (),
44 .BR ctanl ()
45 T}      Thread safety   MT-Safe
46 .TE
47 .hy
48 .ad
49 .sp 1
50 .SH CONFORMING TO
51 C99, POSIX.1-2001, POSIX.1-2008.
52 .SH SEE ALSO
53 .BR cabs (3),
54 .BR catan (3),
55 .BR ccos (3),
56 .BR csin (3),
57 .BR complex (7)