manipf(3M)
carg, cargf, cargl, cimag, cimagf, cimagl, conj, conjf, conjl, creal, crealf, creall - complex utility functions
As shipped in IRIX 6.5.22. Added in IRIX 6.5.19.
NAME carg, cargf, cargl, cimag, cimagf, cimagl, conj, conjf, conjl, creal, crealf, creall - complex utility functions SYNOPSIS #include <complex.h> double carg(double complex z); float cargf(float complex z); long double cargl(long double complex z); double cimag(double complex z); float cimagf(float complex z); long double cimagl(long double complex z); double complex conj(double complex z); float complex conjf(float complex z); long double complex conjl(long double complex z); double creal(double complex z); float crealf(float complex z); long double creall(long double complex z); DESCRIPTION These routines are not available for programs compiled with the O32 ABI. Functions in the standard math library (libm.a) are referred to as -lm versions. Those in the libmx library (libmx.a) are referred to as -lmx versions, and those in the the BSD math library (libm43.a) are referred to as -lm43 versions. These routines are not available in the libmx or libm43 libraries. The carg functions compute the argument (also called phase angle) of z, with a branch cut along the negative real axis. The cimag functions compute the imaginary part of z. The conj functions compute the complex conjugate of z, by reversing the sign of its imaginary part. The creal functions compute the real part of z. NOTES Long double operations on this system are only supported in round to nearest rounding mode (the default). The system must be in round to nearest rounding mode when calling any of the long double functions, or incorrect answers will result. RETURN VALUES The -lm and -lmx versions always return the default Quiet NaN and set errno to EDOM when a NaN is used as an argument. SEE ALSO math(3M), matherr(3M)