Guardian Native C Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
cprojl(3) Guardian Native C Library Calls Reference Manual
NAME
cprojl - Computes the long double complex projection function
LIBRARY
H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL
32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll
64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll
SYNOPSIS
#include <complex.h>
long double complex cprojl(
long double complex z);
PARAMETERS
z Is the long double complex value to be projected.
DESCRIPTION
The cprojl() function is a long double complex version of the cproj() function; it takes a long
double complex argument and returns a long double complex result.
The cprojl() function computes a projection of z onto the Riemann sphere. The cprojl() func-
tion returns z for z, except if z is a complex infinity (even if it is a complex infinity with one
infinite part and one Nan part). If z is a complex infinity, cprojl() returns positive infinity on the
real axis. If z has an infinite part then cprojl() is equivalent to:
INFINITY+I* copysignl(0,0, cimagl(z))
NOTES
This function is implemented only for the IEEE_float floating-point option. Applications using
this function cannot be compiled if the specified floating-point option is Tandem_float.
RETURN VALUES
The cprojl() function returns the value of the projection on the Riemann sphere.
ERRORS
No errors are defined.
RELATED INFORMATION
Functions: carg(3), cimag(3), conj(3), cproj(3), cprojf(3), creal(3).
STANDARDS CONFORMANCE
This function conforms to the ISO/IEC 9899:1999 standard.
This function conforms to the IEEE Std 1003.1, 2004 Edition.
1−132 Hewlett-Packard Company 527192-018