summaryrefslogtreecommitdiff
path: root/src/complex/cproj.c
blob: f270219001b90a2af383b5572c859904321aef9c (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
32
#if 0

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

#include <complex.h>

TYPE complex TGFN(cproj)(TYPE complex z)
{
	return z;
}

/*d
The cproj functions compute a projection of z onto the Riemann sphere: z projects to
z except that all complex infinities (even those with one infinite part and one NaN part)
project to positive infinity on the real axis. If z has an infinite part, then cproj(z) is
equivalent to
INFINITY + I * copysign(0.0, cimag(z))
d*/

/*r
The cproj functions return the value of the projection onto the Riemann sphere.
r*/

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



#endif