CPROJ(3) OpenBSD Programmer's Manual CPROJ(3)NAME
cproj, cprojf - compute projection onto Riemann sphere
SYNOPSIS
#include <complex.h>
double complex
cproj(double complex z);
float complex
cprojf(float complex z);
DESCRIPTION
The cproj() and cprojf() functions compute a projection of z onto the
Riemann sphere.
RETURN VALUES
The cproj() and cprojf() functions return z for all finite complex
numbers. If z has an infinite part (even if the other part is NaN), they
return the equivalent of:
INFINITY + I * copysign(0.0, cimag(z))
SEE ALSOcimag(3)STANDARDS
The cproj() and cprojf() functions conform to ISO/IEC 9899:1999 (``ISO
C99'').
OpenBSD 4.9 July 19, 2010 OpenBSD 4.9