]>
Commit | Line | Data |
---|---|---|
fea681da | 1 | .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de) |
2297bf0e | 2 | .\" |
38f20bb9 | 3 | .\" %%%LICENSE_START(GPL_NOVERSION_ONELINE) |
fea681da | 4 | .\" Distributed under GPL |
38f20bb9 | 5 | .\" %%%LICENSE_END |
fea681da | 6 | .\" |
4b8c67d9 | 7 | .TH CSIN 3 2017-09-15 "" "Linux Programmer's Manual" |
fea681da MK |
8 | .SH NAME |
9 | csin, csinf, csinl \- complex sine function | |
10 | .SH SYNOPSIS | |
11 | .B #include <complex.h> | |
68e4db0a | 12 | .PP |
fea681da | 13 | .BI "double complex csin(double complex " z ");" |
d39541ec | 14 | .br |
fea681da | 15 | .BI "float complex csinf(float complex " z ); |
d39541ec | 16 | .br |
fea681da | 17 | .BI "long double complex csinl(long double complex " z ");" |
68e4db0a | 18 | .PP |
20c58d70 | 19 | Link with \fI\-lm\fP. |
fea681da | 20 | .SH DESCRIPTION |
2feb67af MK |
21 | These functions calculate the complex sine of |
22 | .IR z . | |
847e0d88 | 23 | .PP |
51065a83 | 24 | The complex sine function is defined as: |
207050fa | 25 | .PP |
51065a83 | 26 | .nf |
51065a83 | 27 | csin(z) = (exp(i * z) \- exp(\-i * z)) / (2 * i) |
494fc522 | 28 | .fi |
f0d7ce1d MK |
29 | .SH VERSIONS |
30 | These functions first appeared in glibc in version 2.1. | |
212127d1 MS |
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 | |
847e0d88 | 45 | .sp 1 |
47297adb | 46 | .SH CONFORMING TO |
9a74e018 | 47 | C99, POSIX.1-2001, POSIX.1-2008. |
47297adb | 48 | .SH SEE ALSO |
fea681da | 49 | .BR cabs (3), |
f54fb0fa | 50 | .BR casin (3), |
125ad157 | 51 | .BR ccos (3), |
fea681da | 52 | .BR ctan (3), |
a8bda636 | 53 | .BR complex (7) |