Query: cprojf
OS: sunos
Section: 3m
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
cproj(3M) Mathematical Library Functions cproj(3M)NAMEcproj, cprojf, cprojl - complex projection functionsSYNOPSIScc [ flag... ] file... -lm [ library... ] #include <complex.h> double complex cproj(double complex z); float complex cprojf(float complex z); long double complex cprojl(long double complex z);DESCRIPTIONThese functions compute a projection of z onto the Riemann sphere: z projects to z, except that all complex infinities (even those with one infinite part and one NaN part) project to positive infinity on the real axis. If z has an infinite part, then cproj(z) is equivalent to: INFINITY + I * copysign(0.0, cimag(z))RETURN VALUESThese functions return the value of the projection onto the Riemann sphere.ERRORSNo errors are defined.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+SEE ALSOcarg(3M), cimag(3M), complex.h(3HEAD), conj(3M), creal(3M), attributes(5), standards(5) SunOS 5.10 1 Sep 2002 cproj(3M)