1carg(3M) Mathematical Library Functions carg(3M)
2
3
4
6 carg, cargf, cargl - complex argument functions
7
9 c99 [ flag... ] file... -lm [ library... ]
10 #include <complex.h>
11
12 double carg(double complex z);
13
14
15 float cargf(float complex z);
16
17
18 long double cargl(long double complex z);
19
20
22 These functions compute the argument (also called phase angle) of z,
23 with a branch cut along the negative real axis.
24
26 These functions return the value of the argument in the interval [ −pi,
27 +pi ].
28
30 No errors are defined.
31
33 See attributes(5) for descriptions of the following attributes:
34
35
36
37
38 ┌─────────────────────────────┬─────────────────────────────┐
39 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
40 ├─────────────────────────────┼─────────────────────────────┤
41 │Interface Stability │Standard │
42 ├─────────────────────────────┼─────────────────────────────┤
43 │MT-Level │MT-Safe │
44 └─────────────────────────────┴─────────────────────────────┘
45
47 cimag(3M), complex.h(3HEAD), conj(3M), cproj(3M), attributes(5), stan‐
48 dards(5)
49
50
51
52SunOS 5.11 12 Jul 2006 carg(3M)