Guardian Native C Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

Guardian Native C Library Calls (a - e) carg(3)
NAME
carg - Computes the complex argument
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>
double carg(
double complex z);
PARAMETERS
z Species a double complex value.
DESCRIPTION
The carg() function computes the complex argument (also called phase angle) of z.
NOTES
This function is implemented only for the IEEE_float oating-point option. Applications using
this function cannot be compiled if the specified floating-point option is Tandem_float.
RETURN VALUES
The carg() function returns the complex argument of z in the interval [-π,+π].
ERRORS
No errors are defined.
RELATED INFORMATION
Functions: cargf(3), cargl(3), cimag(3), conj(3), cproj(3).
STANDARDS CONFORMANCE
This function conforms to the ISO/IEC 9899:1999 standard.
This function conforms to the IEEE Std 1003.1, 2004 Edition.
527192-018 Hewlett-Packard Company 169