1CPROJ(3) complex math routines CPROJ(3)
2
3
4
6 cproj, cprojf, cprojl - project into Riemann Sphere
7
9 #include <complex.h>
10
11 double complex cproj(double complex z);
12 float complex cprojf(float complex z);
13 long double complex cprojl(long double complex z);
14
15 Link with -lm.
16
18 This function projects a point in the plane onto the surface of a Rie‐
19 mann Sphere, the one-point compactification of the complex plane. Each
20 finite point z projects to z itself. Every complex infinite value is
21 projected to a single infinite value, namely to positive infinity on
22 the real axis.
23
25 C99
26
28 The glibc implementation is broken and does something entirely differ‐
29 ent.
30
32 cabs(3), complex(7)
33
34
35
36 2002-07-28 CPROJ(3)