Manual Page Result
0
Command: cproj | Section: 3 | Source: OpenBSD | File: cproj.3
CPROJ(3) FreeBSD Library Functions Manual CPROJ(3)
NAME
cproj, cprojf, cprojl - compute projection onto Riemann sphere
SYNOPSIS
#include <complex.h>
double complex
cproj(double complex z);
float complex
cprojf(float complex z);
long double complex
cprojl(long double complex z);
DESCRIPTION
The cproj(), cprojf() and cprojl() functions compute a projection of z
onto the Riemann sphere.
RETURN VALUES
The cproj(), cprojf() and cprojl() 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 ALSO
cimag(3)
STANDARDS
The cproj(), cprojf() and cprojl() functions conform to ISO/IEC 9899:1999
("ISO C99").
FreeBSD 14.1-RELEASE-p8 January 25, 2019 FreeBSD 14.1-RELEASE-p8