]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/cproj.3
tsearch.3: SYNOPSIS: add missing definition of 'VISIT' type
[thirdparty/man-pages.git] / man3 / cproj.3
CommitLineData
fea681da 1.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2297bf0e 2.\"
38f20bb9 3.\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
fea681da 4.\" Distributed under GPL
38f20bb9 5.\" %%%LICENSE_END
fea681da 6.\"
c73595c2 7.TH CPROJ 3 2015-04-19 "" "Linux Programmer's Manual"
fea681da
MK
8.SH NAME
9cproj, cprojf, cprojl \- project into Riemann Sphere
10.SH SYNOPSIS
11.B #include <complex.h>
68e4db0a 12.PP
fea681da 13.BI "double complex cproj(double complex " z ");"
d39541ec 14.br
fea681da 15.BI "float complex cprojf(float complex " z ");"
d39541ec 16.br
fea681da 17.BI "long double complex cprojl(long double complex " z ");"
68e4db0a 18.PP
20c58d70 19Link with \fI\-lm\fP.
fea681da 20.SH DESCRIPTION
2d6c69df 21These functions project a point in the plane onto the surface of a
fea681da 22Riemann Sphere, the one-point compactification of the complex plane.
e5056894
MK
23Each finite point
24.I z
25projects to
26.I z
27itself.
fea681da
MK
28Every complex infinite value is projected to a single infinite value,
29namely to positive infinity on the real axis.
f0d7ce1d
MK
30.SH VERSIONS
31These functions first appeared in glibc in version 2.1.
1e505247 32.SH ATTRIBUTES
3f1fe439
MK
33For an explanation of the terms used in this section, see
34.BR attributes (7).
35.TS
36allbox;
37lbw27 lb lb
38l l l.
39Interface Attribute Value
40T{
1e505247
PH
41.BR cproj (),
42.BR cprojf (),
1e505247 43.BR cprojl ()
3f1fe439
MK
44T} Thread safety MT-Safe
45.TE
47297adb 46.SH CONFORMING TO
9a74e018 47C99, POSIX.1-2001, POSIX.1-2008.
19c98696 48.SH NOTES
ca90d3f8 49In glibc 2.11 and earlier, the implementation does something different
022671eb
MK
50(a
51.I stereographic
52projection onto a Riemann Sphere).
ca90d3f8 53.\" http://sources.redhat.com/bugzilla/show_bug.cgi?id=10401
47297adb 54.SH SEE ALSO
fea681da 55.BR cabs (3),
a8bda636 56.BR complex (7)