1cproj(3) Library Functions Manual cproj(3)
2
3
4
6 cproj, cprojf, cprojl - project into Riemann Sphere
7
9 Math library (libm, -lm)
10
12 #include <complex.h>
13
14 double complex cproj(double complex z);
15 float complex cprojf(float complex z);
16 long double complex cprojl(long double complex z);
17
19 These functions project a point in the plane onto the surface of a Rie‐
20 mann Sphere, the one-point compactification of the complex plane. Each
21 finite point z projects to z itself. Every complex infinite value is
22 projected to a single infinite value, namely to positive infinity on
23 the real axis.
24
26 For an explanation of the terms used in this section, see at‐
27 tributes(7).
28
29 ┌────────────────────────────────────────────┬───────────────┬─────────┐
30 │Interface │ Attribute │ Value │
31 ├────────────────────────────────────────────┼───────────────┼─────────┤
32 │cproj(), cprojf(), cprojl() │ Thread safety │ MT-Safe │
33 └────────────────────────────────────────────┴───────────────┴─────────┘
34
36 C11, POSIX.1-2008.
37
39 glibc 2.1. C99, POSIX.1-2001.
40
41 In glibc 2.11 and earlier, the implementation does something different
42 (a stereographic projection onto a Riemann Sphere).
43
45 cabs(3), complex(7)
46
47
48
49Linux man-pages 6.04 2023-03-30 cproj(3)