summaryrefslogtreecommitdiffstats
path: root/man3/cproj.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/cproj.3')
-rw-r--r--man3/cproj.329
1 files changed, 29 insertions, 0 deletions
diff --git a/man3/cproj.3 b/man3/cproj.3
new file mode 100644
index 000000000..16750184c
--- /dev/null
+++ b/man3/cproj.3
@@ -0,0 +1,29 @@
+.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
+.\" Distributed under GPL
+.\"
+.TH CPROJ 3 2002-07-28 "" "complex math routines"
+.SH NAME
+cproj, cprojf, cprojl \- project into Riemann Sphere
+.SH SYNOPSIS
+.B #include <complex.h>
+.sp
+.BI "double complex cproj(double complex " z ");"
+.sp
+.BI "float complex cprojf(float complex " z ");"
+.sp
+.BI "long double complex cprojl(long double complex " z ");"
+.sp
+Link with \-lm.
+.SH DESCRIPTION
+This function projects a point in the plane onto the surface of a
+Riemann Sphere, the one-point compactification of the complex plane.
+Each finite point z projects to z itself.
+Every complex infinite value is projected to a single infinite value,
+namely to positive infinity on the real axis.
+.SH "CONFORMING TO"
+C99
+.SH NOTE
+The glibc implementation is broken and does something entirely different.
+.SH "SEE ALSO"
+.BR cabs (3),
+.BR complex (5)