summaryrefslogtreecommitdiff
path: root/src/complex/carg.c
blob: c96861ead5740cbd863380964037d56922dd0eca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#if 0

# define TGSOURCE "complex/carg.c"
#include <complex.h>
#include <math.h>
#include "_tgmath.h"

TYPE TGFN(carg)(TYPE complex z)
{
	return TGFN(atan2)(TGFN(cimag)(z), TGFN(creal)(z));
}

/*d
The carg functions compute the argument (also called phase angle) of z, with a branch
cut along the negative real axis.
d*/

/*r
The carg functions return the value of the argument in the interval [− π , + π ].
r*/

/*
STDC(199901)
LINK(m)
*/


#endif