summaryrefslogtreecommitdiff
path: root/src/complex/catan.c
blob: e2e692205a0052f2c0d2235e5e86ce330e455c0e (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
29
30
31
#if 0

# define TGSOURCE "complex/catan.c"
#include "_tgmath.h"

#include <complex.h>

TYPE complex TGFN(catan)(TYPE complex z)
{
	SIGNAL_SAFE(0);
	return TGCMPLX(0.0, -TGFN(catanh)(I * z));
}

/*d
The catan functions compute the complex arc tangent of z, with branch cuts outside the
interval [−i, +i] along the imaginary axis.
d*/

/*r
The catan functions return the complex arc tangent value, in the range of a strip
mathematically unbounded along the imaginary axis and in the interval [− π /2, + π /2]
along the real axis.
r*/

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


#endif