1CPROJ(3) Linux Programmer's Manual 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 These functions first appeared in glibc in version 2.1.
26
28 C99.
29
31 The glibc implementation is broken and does something entirely differ‐
32 ent.
33
35 cabs(3), complex(7)
36
38 This page is part of release 3.22 of the Linux man-pages project. A
39 description of the project, and information about reporting bugs, can
40 be found at http://www.kernel.org/doc/man-pages/.
41
42
43
44 2008-08-11 CPROJ(3)