Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
OSS Library Calls (a - d) cimag(3)
NAME
cimag - Computes the imaginary part of a complex value
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 cimag(
double complex z);
PARAMETERS
z Specifies a double complex value.
DESCRIPTION
The cimag( ) function computes the imaginary part of 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 cimag( ) function returns the imaginary part value (as a real).
ERRORS
No errors are defined.
RELATED INFORMATION
Functions: carg(3), cimagf(3), cimagl(3), conj(3), cproj(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.
527187-017 Hewlett-Packard Company 1−111