cproj(3m) opensolaris man page | unix.com

Man Page: cproj

Operating Environment: opensolaris

Section: 3m

cproj(3M)						  Mathematical Library Functions						 cproj(3M)

NAME
cproj, cprojf, cprojl - complex projection functions
SYNOPSIS
c99 [ 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);
DESCRIPTION
These 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 VALUES
These functions return the value of the projection onto the Riemann sphere.
ERRORS
No errors are defined.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+
SEE ALSO
carg(3M), cimag(3M), complex.h(3HEAD), conj(3M), creal(3M), attributes(5), standards(5) SunOS 5.11 12 Jul 2006 cproj(3M)
Related Man Pages
cproj(3) - freebsd
cimagl(3) - freebsd
conjf(3) - freebsd
conj(3) - freebsd
cprojf(3) - freebsd
Similar Topics in the Unix Linux Community
Perl script strange problem
File manipulation with AWK and SED
Entire Input command not visible in Unix prompt
Help cannot concatenate Ksh variables ?
Tier 2 list