blob: 330563cdd974d2dcdcbe2800fc696403e83f8d34 (
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
|
# 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)
*/
|