Blame man3/cproj.3

Packit 7cfc04
.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
Packit 7cfc04
.\"
Packit 7cfc04
.\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
Packit 7cfc04
.\" Distributed under GPL
Packit 7cfc04
.\" %%%LICENSE_END
Packit 7cfc04
.\"
Packit 7cfc04
.TH CPROJ 3 2015-04-19 "" "Linux Programmer's Manual"
Packit 7cfc04
.SH NAME
Packit 7cfc04
cproj, cprojf, cprojl \- project into Riemann Sphere
Packit 7cfc04
.SH SYNOPSIS
Packit 7cfc04
.B #include <complex.h>
Packit 7cfc04
.PP
Packit 7cfc04
.BI "double complex cproj(double complex " z ");"
Packit 7cfc04
.br
Packit 7cfc04
.BI "float complex cprojf(float complex " z ");"
Packit 7cfc04
.br
Packit 7cfc04
.BI "long double complex cprojl(long double complex " z ");"
Packit 7cfc04
.PP
Packit 7cfc04
Link with \fI\-lm\fP.
Packit 7cfc04
.SH DESCRIPTION
Packit 7cfc04
These functions project a point in the plane onto the surface of a
Packit 7cfc04
Riemann Sphere, the one-point compactification of the complex plane.
Packit 7cfc04
Each finite point
Packit 7cfc04
.I z
Packit 7cfc04
projects to
Packit 7cfc04
.I z
Packit 7cfc04
itself.
Packit 7cfc04
Every complex infinite value is projected to a single infinite value,
Packit 7cfc04
namely to positive infinity on the real axis.
Packit 7cfc04
.SH VERSIONS
Packit 7cfc04
These functions first appeared in glibc in version 2.1.
Packit 7cfc04
.SH ATTRIBUTES
Packit 7cfc04
For an explanation of the terms used in this section, see
Packit 7cfc04
.BR attributes (7).
Packit 7cfc04
.TS
Packit 7cfc04
allbox;
Packit 7cfc04
lbw27 lb lb
Packit 7cfc04
l l l.
Packit 7cfc04
Interface	Attribute	Value
Packit 7cfc04
T{
Packit 7cfc04
.BR cproj (),
Packit 7cfc04
.BR cprojf (),
Packit 7cfc04
.BR cprojl ()
Packit 7cfc04
T}	Thread safety	MT-Safe
Packit 7cfc04
.TE
Packit 7cfc04
.SH CONFORMING TO
Packit 7cfc04
C99, POSIX.1-2001, POSIX.1-2008.
Packit 7cfc04
.SH NOTES
Packit 7cfc04
In glibc 2.11 and earlier, the implementation does something different
Packit 7cfc04
(a
Packit 7cfc04
.I stereographic
Packit 7cfc04
projection onto a Riemann Sphere).
Packit 7cfc04
.\" http://sources.redhat.com/bugzilla/show_bug.cgi?id=10401
Packit 7cfc04
.SH SEE ALSO
Packit 7cfc04
.BR cabs (3),
Packit 7cfc04
.BR complex (7)
Packit 7cfc04
.SH COLOPHON
Packit 7cfc04
This page is part of release 4.15 of the Linux
Packit 7cfc04
.I man-pages
Packit 7cfc04
project.
Packit 7cfc04
A description of the project,
Packit 7cfc04
information about reporting bugs,
Packit 7cfc04
and the latest version of this page,
Packit 7cfc04
can be found at
Packit 7cfc04
\%https://www.kernel.org/doc/man\-pages/.