]>
Commit | Line | Data |
---|---|---|
fea681da | 1 | .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de) |
2297bf0e | 2 | .\" |
95fb8859 | 3 | .\" SPDX-License-Identifier: GPL-1.0-or-later |
fea681da | 4 | .\" |
1ae6b2c7 | 5 | .TH CSIN 3 2021-03-22 GNU "Linux Programmer's Manual" |
fea681da MK |
6 | .SH NAME |
7 | csin, csinf, csinl \- complex sine function | |
2af19291 AC |
8 | .SH LIBRARY |
9 | Math library | |
8fc3b2cf | 10 | .RI ( libm ", " \-lm ) |
fea681da | 11 | .SH SYNOPSIS |
c7db92b9 | 12 | .nf |
fea681da | 13 | .B #include <complex.h> |
68e4db0a | 14 | .PP |
1ae6b2c7 | 15 | .BI "double complex csin(double complex " z ); |
fea681da | 16 | .BI "float complex csinf(float complex " z ); |
1ae6b2c7 | 17 | .BI "long double complex csinl(long double complex " z ); |
c7db92b9 | 18 | .fi |
fea681da | 19 | .SH DESCRIPTION |
2feb67af MK |
20 | These functions calculate the complex sine of |
21 | .IR z . | |
847e0d88 | 22 | .PP |
51065a83 | 23 | The complex sine function is defined as: |
207050fa | 24 | .PP |
1ae6b2c7 AC |
25 | .in +4n |
26 | .EX | |
27 | csin(z) = (exp(i * z) \- exp(\-i * z)) / (2 * i) | |
28 | .EE | |
29 | .in | |
f0d7ce1d MK |
30 | .SH VERSIONS |
31 | These functions first appeared in glibc in version 2.1. | |
212127d1 MS |
32 | .SH ATTRIBUTES |
33 | For an explanation of the terms used in this section, see | |
34 | .BR attributes (7). | |
c466875e MK |
35 | .ad l |
36 | .nh | |
212127d1 MS |
37 | .TS |
38 | allbox; | |
c466875e | 39 | lbx lb lb |
212127d1 MS |
40 | l l l. |
41 | Interface Attribute Value | |
42 | T{ | |
43 | .BR csin (), | |
44 | .BR csinf (), | |
45 | .BR csinl () | |
46 | T} Thread safety MT-Safe | |
47 | .TE | |
c466875e MK |
48 | .hy |
49 | .ad | |
847e0d88 | 50 | .sp 1 |
47297adb | 51 | .SH CONFORMING TO |
9a74e018 | 52 | C99, POSIX.1-2001, POSIX.1-2008. |
47297adb | 53 | .SH SEE ALSO |
fea681da | 54 | .BR cabs (3), |
f54fb0fa | 55 | .BR casin (3), |
125ad157 | 56 | .BR ccos (3), |
fea681da | 57 | .BR ctan (3), |
a8bda636 | 58 | .BR complex (7) |