poll.2: Remove <signal.h>
[man-pages.git] / man3 / conj.3
blobead311403fea2e23c053566a9b14f47e00fdf478
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 CONJ 3 2021-03-22 "" "Linux Programmer's Manual"
8 .SH NAME
9 conj, conjf, conjl \- calculate the complex conjugate
10 .SH SYNOPSIS
11 .nf
12 .B #include <complex.h>
13 .PP
14 .BI "double complex conj(double complex " z );
15 .BI "float complex conjf(float complex " z );
16 .BI "long double complex conjl(long double complex " z );
17 .PP
18 Link with \fI\-lm\fP.
19 .fi
20 .SH DESCRIPTION
21 These functions return the complex conjugate value of
22 .IR z .
23 That is the value obtained by changing the sign of the imaginary part.
24 .PP
25 One has:
26 .PP
27 .nf
28     cabs(z) = csqrt(z * conj(z))
29 .fi
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
43 .BR conj (),
44 .BR conjf (),
45 .BR conjl ()
46 T}      Thread safety   MT-Safe
47 .TE
48 .hy
49 .ad
50 .sp 1
51 .SH CONFORMING TO
52 C99, POSIX.1-2001, POSIX.1-2008.
53 .SH SEE ALSO
54 .BR cabs (3),
55 .BR csqrt (3),
56 .BR complex (7)