]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man3/csin.3
_exit.2, bpf.2, cacheflush.2, capget.2, chdir.2, chmod.2, chroot.2, clock_getres...
[thirdparty/man-pages.git] / man3 / csin.3
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 CSIN 3 2015-04-19 "" "Linux Programmer's Manual"
8 .SH NAME
9 csin, csinf, csinl \- complex sine function
10 .SH SYNOPSIS
11 .B #include <complex.h>
12 .PP
13 .BI "double complex csin(double complex " z ");"
14 .br
15 .BI "float complex csinf(float complex " z );
16 .br
17 .BI "long double complex csinl(long double complex " z ");"
18 .PP
19 Link with \fI\-lm\fP.
20 .SH DESCRIPTION
21 These functions calculate the complex sine of
22 .IR z .
23
24 The complex sine function is defined as:
25 .nf
26
27 csin(z) = (exp(i * z) \- exp(\-i * z)) / (2 * i)
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 .TS
35 allbox;
36 lbw24 lb lb
37 l l l.
38 Interface Attribute Value
39 T{
40 .BR csin (),
41 .BR csinf (),
42 .BR csinl ()
43 T} Thread safety MT-Safe
44 .TE
45
46 .SH CONFORMING TO
47 C99, POSIX.1-2001, POSIX.1-2008.
48 .SH SEE ALSO
49 .BR cabs (3),
50 .BR casin (3),
51 .BR ccos (3),
52 .BR ctan (3),
53 .BR complex (7)